Skip to content

Commit 50fd116

Browse files
author
Dias, Diego
committed
Refactor: Tuning workflow
1 parent 61e08e2 commit 50fd116

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/test-coverage.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,12 @@ jobs:
3333
- name: Run Inline Assertion Tests & Verify Parity
3434
run: node scripts/run-inline-tests.js
3535

36+
- name: Run Jest Tests with Coverage
37+
run: npx jest --config=jest.config.jest-tests.js --coverage --ci --json --testLocationInResults --outputFile=report.json
38+
3639
- name: Jest Coverage Report
3740
uses: ArtiomTr/jest-coverage-report-action@v2
3841
if: always()
3942
with:
40-
test-script: npx jest --config=jest.config.jest-tests.js --coverage
41-
working-directory: ./
42-
skip-step: install
43+
coverage-file: ./report.json
44+
base-coverage-file: ./report.json

0 commit comments

Comments
 (0)