Skip to content

Commit

Permalink
Chore(ci): Add carry forward flags for better code coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
literat committed Jun 21, 2024
1 parent 6dae131 commit d35239a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
file: ./packages/web/.coverage/lcov.info
flag-name: web
carryforward: web-react, web-twig, analytics, design-tokens, icons, common, codemods, form-validations

- name: Publish Web-React Package Code Coverage
# When Nx hits its cloud cache, there is no generated coverage to sent, e.g. do not let this crash
Expand All @@ -69,6 +70,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
file: ./packages/web-react/.coverage/lcov.info
flag-name: web-react
carryforward: web, web-twig, analytics, design-tokens, icons, common, codemods, form-validations

- name: Publish Analytics Package Code Coverage
# When Nx hits its cloud cache, there is no generated coverage to sent, e.g. do not let this crash
Expand All @@ -78,3 +80,4 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
file: ./packages/analytics/.coverage/lcov.info
flag-name: analytics
carryforward: web, web-react, web-twig, design-tokens, icons, common, codemods, form-validations

0 comments on commit d35239a

Please sign in to comment.