Skip to content

[chore] handle request rejected errors #17

[chore] handle request rejected errors

[chore] handle request rejected errors #17

Workflow file for this run

#file: noinspection YAMLSchemaValidation
name: Run QA (test, lint, type check)
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
qa:
env:
commitmsg: ${{ github.event.head_commit.message }}
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]
poetry-version: ["1.5"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Install dependencies
run: |
poetry install
- name: Unit tests
run: |
poetry run pytest
- name: Linting
run: |
poetry run flake8 impresso tests
- name: Type checking
run: |
poetry run mypy -p impresso -p tests