Skip to content

Commit

Permalink
Fix poetry run commands in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ekiefl committed Jul 14, 2024
1 parent 0cb8b34 commit 0f71b44
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,16 @@ jobs:
id: ruff_lint
continue-on-error: true
run: |
poetry ruff --version
poetry ruff check . --verbose --diff
poetry run ruff --version
poetry run ruff check . --verbose --diff
echo "ruff_lint_failed=$?" >> $GITHUB_ENV
- name: ruff (format)
id: ruff_format
continue-on-error: true
run: |
poetry ruff --version
poetry ruff format . --check --verbose --diff
poetry run ruff --version
poetry run ruff format . --check --verbose --diff
echo "ruff_format_failed=$?" >> $GITHUB_ENV
# --- Pytest
Expand All @@ -62,8 +62,8 @@ jobs:
id: pytest
continue-on-error: true
run: |
poetry pytest --version
poetry pytest
poetry run pytest --version
poetry run pytest
echo "pytest_failed=$?" >> $GITHUB_ENV
# --- Pyright
Expand All @@ -72,8 +72,8 @@ jobs:
id: pyright
continue-on-error: true
run: |
poetry pyright --version
poetry pyright --project ./pyrightconfig.ci.json
poetry run pyright --version
poetry run pyright --project ./pyrightconfig.ci.json
echo "pyright_failed=$?" >> $GITHUB_ENV
# --- Main
Expand Down

0 comments on commit 0f71b44

Please sign in to comment.