mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-15 22:07:09 +01:00
Improve CI - use if: always() instead of continue-on-error
This commit is contained in:
parent
ad37e4d3c1
commit
41e42925f3
1 changed files with 1 additions and 3 deletions
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 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
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue