Improve CI - use if: always() instead of continue-on-error

This commit is contained in:
Michal Dorner 2021-01-06 22:59:59 +01:00
parent ad37e4d3c1
commit 41e42925f3
No known key found for this signature in database
GPG key ID: 9EEE04B48DA36786

View file

@ -19,12 +19,10 @@ jobs:
- run: npm run format-check - run: npm run format-check
- run: npm run lint - run: npm run lint
- run: npm test - run: npm test
continue-on-error: true
- name: 'Evaluate test results' - name: 'Evaluate test results'
if: always()
uses: ./ uses: ./
with: with:
name: 'JEST Tests' name: 'JEST Tests'
path: '__tests__/__results__/jest-junit.xml' path: '__tests__/__results__/jest-junit.xml'
reporter: 'jest-junit' reporter: 'jest-junit'
- name: 'Sanity check' # re-run tests in case this action failed to detect failing test
run: npm test