Skip to content

Commit

Permalink
Merge pull request #123 from LPSim/fix/pyright-action-error
Browse files Browse the repository at this point in the history
fix: pyright error on Github Actions
  • Loading branch information
zyr17 authored Jul 8, 2024
2 parents dfaad9c + 58be128 commit 0866b9b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,18 @@ jobs:
run: |
pip install -e ".[dev]"
- name: Create pyrightconfig.json
run: |
echo '{
"exclude": [
"src/lpsim/env/**"
],
"typeCheckingMode": "basic"
}' > pyrightconfig.json
- name: Run type check
run: |
pyright --version
pyright .
- name: Run tests with coverage
Expand Down

0 comments on commit 0866b9b

Please sign in to comment.