Skip to content

Commit

Permalink
Add quality check for update-bids
Browse files Browse the repository at this point in the history
Ensure running `poe update-bids` doesn't change any files
  • Loading branch information
pvandyken committed Dec 19, 2023
1 parent f80bcf6 commit 5383e8a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ jobs:
# run python style checks
- name: Poetry Lock Check
run: poetry check --lock
# Check that running update-bids doesn't change any files
- name: update-bids check
run: |
poetry run poe update-bids
git diff-files --quiet || (
git status
echo 'bids specs out of date, run `poetry run poe update-bids`'
exit 1
)
- name: Formatting
run: poetry run ruff format snakebids --check
- name: Linting
Expand Down

0 comments on commit 5383e8a

Please sign in to comment.