Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update spec tests output #893

Merged
merged 1 commit into from
Mar 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 6 additions & 14 deletions .github/workflows/spec_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,25 +35,17 @@ jobs:
id: spec_error_tests
continue-on-error: true
run: |
python -m unittest spec_tests/test_errors.py > error_results.txt
echo "::group::Spec Test Results"
python -m unittest spec_tests/test_errors.py
echo "::endgroup::"
- name: Bids Validation Test
id: bids_validation_test
continue-on-error: true
run: |
python -m unittest spec_tests/validate_bids.py > validate_bids_results.txt
- name: Upload error test results
uses: actions/upload-artifact@v4
with:
name: error-test-results
path: error_results.txt

- name: Upload bids test results
uses: actions/upload-artifact@v4
with:
name: bids-test-results
path: validate_bids_results.txt
echo "::group::Bids Results"
python -m unittest spec_tests/validate_bids.py
echo "::endgroup::"
- name: Fail if Tests Failed
if: steps.spec_error_tests.outcome == 'failure' || steps.bids_validation_test.outcome == 'failure'
Expand Down
Loading