Skip to content

build(deps): bump sentry-sdk from 1.41.0 to 1.43.0 #152

build(deps): bump sentry-sdk from 1.41.0 to 1.43.0

build(deps): bump sentry-sdk from 1.41.0 to 1.43.0 #152

Workflow file for this run

name: Tests
on:
push:
branches:
- main
- master
paths-ignore:
- 'docs/**'
- '*.md'
- '*.rst'
pull_request:
branches:
- main
- master
paths-ignore:
- 'docs/**'
- '*.md'
- '*.rst'
jobs:
linting:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v3
- name: load pip cache if cache exists
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip
restore-keys: ${{ runner.os }}-pip
- name: Install library
run: python -m pip install black flake8 isort
- name: Linting
run: |
flake8 .
# black . --check
isort .
tests:
needs: linting
runs-on: "ubuntu-latest"
strategy:
fail-fast: true
matrix:
python-version: ['3.8', '3.9', '3.10']
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: Setup python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
- name: Install library
run: poetry install --no-interaction
- name: Run test
run: poetry run pytest