Skip to content

Commit

Permalink
Merge pull request #893 from IanCa/dev_update_output2
Browse files Browse the repository at this point in the history
Update spec tests output
  • Loading branch information
VisLab authored Mar 28, 2024
2 parents 0efe5b4 + 4c0f327 commit 9e4b99a
Showing 1 changed file with 6 additions and 14 deletions.
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

0 comments on commit 9e4b99a

Please sign in to comment.