Skip to content

Commit

Permalink
Fix test failing on error
Browse files Browse the repository at this point in the history
  • Loading branch information
johlju committed Sep 14, 2024
1 parent cd7da70 commit aa705ff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,11 @@ jobs:
- name: Test
id: test
if: success()
continue-on-error: true
run: |
npm run test:ci
- name: Upload coverage to Codecov
if: steps.test.outcome != 'skipped'
if: always()
uses: codecov/codecov-action@v4
with:
files: ./coverage/lcov.info # cSpell: ignore lcov
Expand All @@ -78,7 +77,7 @@ jobs:
CODECOV_TOKEN: ${{ vars.CODECOV_TOKEN }}

- name: Upload test results to Codecov
if: steps.test.outcome != 'skipped'
if: always()
uses: codecov/test-results-action@v1
with:
files: ./testResults/junit.xml
Expand Down

0 comments on commit aa705ff

Please sign in to comment.