Skip to content

Commit

Permalink
Chore(ci): Publish code coverage for spirit-analytics package
Browse files Browse the repository at this point in the history
refs #DS-874
  • Loading branch information
literat committed Nov 29, 2023
1 parent 5dd7d71 commit 0d6fd70
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,12 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
file: ./packages/web-react/.coverage/lcov.info
flag-name: web-react

- 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
if: ${{ hashFiles('./packages/analytics/.coverage/lcov.info') != '' }}
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
file: ./packages/analytics/.coverage/lcov.info
flag-name: analytics

0 comments on commit 0d6fd70

Please sign in to comment.