Skip to content

Commit

Permalink
attempt to fix the pyright step using poetry shell
Browse files Browse the repository at this point in the history
  • Loading branch information
jorenham committed Jan 29, 2024
1 parent 1adefbc commit 0911a88
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ jobs:
- uses: actions/checkout@v4

- name: install poetry
run: |
pipx install poetry
echo "$(poetry env info --path)/bin" >> $GITHUB_PATH
run: pipx install poetry

- uses: actions/setup-python@v5
with:
Expand All @@ -49,16 +47,17 @@ jobs:
--without debug
--${{ matrix.pandas }} pandas
- name: poetry shell
run: poetry shell

- name: codespell
run: poetry run codespell .
run: codespell .

- name: ruff check
run: poetry run ruff check --output-format=github .
run: ruff check --output-format=github .

- name: pyright
uses: jakebailey/pyright-action@v2
with:
project: pyproject.toml

- name: pytest
run: poetry run pytest
run: pytest

0 comments on commit 0911a88

Please sign in to comment.