Skip to content

Commit

Permalink
Run pyright in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasf committed Oct 13, 2024
1 parent 0c8fed2 commit ef13fdb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- run: python examples/perft/perft.py -t 1 --variant horde examples/perft/horde.perft
- run: python examples/perft/perft.py -t 1 --variant crazyhouse examples/perft/crazyhouse.perft
- run: python examples/perft/perft.py -t 1 --variant 3check examples/perft/3check.perft
mypy:
typing:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
Expand All @@ -50,6 +50,9 @@ jobs:
- run: pip install mypy
- run: python -m mypy --strict chess
- run: python -m mypy --strict examples/**/*.py
- run: pip install pyright
- run: python -m pyright chess
- run: python -m pyright --strict examples/**/*.py
readme:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit ef13fdb

Please sign in to comment.