Skip to content

Commit

Permalink
fix: merged reports
Browse files Browse the repository at this point in the history
  • Loading branch information
JBR90 committed Nov 28, 2024
1 parent d5db6b0 commit f1ac085
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,18 @@ jobs:
doppler-token: ${{ secrets.DOPPLER_TOKEN }}
inject-env-vars: true

- name: Install lcov tool
run: sudo apt-get update && sudo apt-get install lcov

- name: Run tests
run: pnpm turbo test --cache-dir=".turbo" -- --maxWorkers=33%

- name: Merge coverage reports
run: |
mkdir -p coverage/merged
lcov -a apps/nextjs/coverage/lcov-report/lcov-info.lcov \
-a packages/aila/coverage/lcov-report/lcov-info.lcov \
-a packages/ingest/coverage/lcov-report/lcov-info.lcov \
lcov -a apps/nextjs/coverage/lcov.info \
-a packages/aila/coverage/lcov-info.lcov \
-a packages/ingest/coverage/lcov-info.lcov \
-o coverage/merged/lcov.info
- name: Upload coverage artifact
Expand Down

0 comments on commit f1ac085

Please sign in to comment.