Skip to content

Commit

Permalink
chore/ci: apply reviewdog to mypy and check
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
  • Loading branch information
miurahr committed Nov 5, 2024
1 parent 1308688 commit 1ad57e3
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,15 @@ jobs:
run: |
pip install -U pip
pip install tox tox-gh-actions coveralls coverage[toml]
- name: Check
run: tox
- name: Lint checks
run: |
tox -e check | reviewdog -f flake8 -reporter=github-pr-review -fail-on-error=true
tox -e mypy | reviewdog -f mypy -reporter=github-pr-review -fail-on-error=true
tox -e docs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Test
run: tox -e py312
env:
PYTEST_ADDOPTS: --cov-config=pyproject.toml --cov --cov-append --verbose
- name: Upload Coverage
Expand Down

0 comments on commit 1ad57e3

Please sign in to comment.