Skip to content

Commit

Permalink
Improve CI - use if: always() instead of continue-on-error
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Dorner committed Jan 6, 2021
1 parent ad37e4d commit 41e4292
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,10 @@ jobs:
- run: npm run format-check
- run: npm run lint
- run: npm test
continue-on-error: true
- name: 'Evaluate test results'
if: always()
uses: ./
with:
name: 'JEST Tests'
path: '__tests__/__results__/jest-junit.xml'
reporter: 'jest-junit'
- name: 'Sanity check' # re-run tests in case this action failed to detect failing test
run: npm test

0 comments on commit 41e4292

Please sign in to comment.