Skip to content

Commit

Permalink
Test scan (#40)
Browse files Browse the repository at this point in the history

* print out the coverage-summary.json
  • Loading branch information
yzlucas authored Sep 18, 2024
1 parent 73a12dd commit 16e7468
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run Tests
name: Run Tests

env:
NPMRC: ${{ secrets.NPMRC }}
Expand Down Expand Up @@ -46,6 +46,11 @@ jobs:
- run: npm run test -- --watch=false --code-coverage
working-directory: client/wfprev-war/src/main/angular

# Print coverage summary for debugging
- name: Print coverage-summary.json
run: cat coverage/wfprev/coverage-summary.json
working-directory: client/wfprev-war/src/main/angular

# Ensure coverage meets the required threshold
- name: Check code coverage
run: |
Expand Down

0 comments on commit 16e7468

Please sign in to comment.