Skip to content

Commit

Permalink
Install requirements in the github machine for pyright to work
Browse files Browse the repository at this point in the history
  • Loading branch information
lukamac committed Dec 26, 2024
1 parent 7f92603 commit da0f955
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,16 @@ jobs:
- uses: psf/black@stable
with:
src: "test"
# Needed by pyright
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- run: |
pip install -r test/requirements-pip.txt
- uses: jakebailey/pyright-action@v2
with:
working-directory: test
- uses: isort/isort-action@v1
with:
sort-paths: "test"
requirements-files: "requirements-pip.txt"

0 comments on commit da0f955

Please sign in to comment.