mirror of
https://github.com/dorny/test-reporter.git
synced 2026-02-01 02:45:22 -08:00
Improve CI - use if: always() instead of continue-on-error
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user