Skip to content

Commit

Permalink
ci: re-use tasks from dodo.py for running linters/tests in GitHub CI
Browse files Browse the repository at this point in the history
  • Loading branch information
vdmit11 committed Mar 22, 2024
1 parent e21632e commit c098aa7
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,9 @@ jobs:
- name: Install Python packages
run: |
poetry install --no-root
- name: ruff
- name: lint
run: |
poetry run ruff check $SRC_DIRS
- name: mypy
poetry run doit lint
- name: test
run: |
poetry run mypy $SRC_DIRS
- name: pytest
run: |
poetry run pytest -vv --cov=contextvars_registry --cov-fail-under=100 $SRC_DIRS
poetry run doit test

0 comments on commit c098aa7

Please sign in to comment.