wikidata in entities #21
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |