Skip to content

Commit

Permalink
fix ruff steps errors
Browse files Browse the repository at this point in the history
  • Loading branch information
JessyBarrette committed Aug 13, 2024
1 parent 3033cca commit d7d0fb9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,21 @@ jobs:
pip install poetry
poetry install --with dev,geo
- name: ruff check
id: ruff_check
run: poetry run ruff check --output-format=github .
continue-on-error: true
- name: ruff import sorting check
id: ruff_imports
run: poetry run ruff check --select I --output-format=github .
continue-on-error: true
- name: ruff lint
- name: ruff format
id: ruff_format
run: poetry run ruff format --check .
continue-on-error: true
- name: Check for ruff issues
if: failure()
if: steps.ruff_check.outcome == 'failure' || steps.ruff_imports.outcome == 'failure' || steps.ruff_format.outcome == 'failure'
run: |
echo "One or more steps have failed in the workflow."
echo "One or more ruff steps have failed in the workflow."
exit 1
- name: Review if metadata is updated
Expand Down

0 comments on commit d7d0fb9

Please sign in to comment.