From f1ac085f19a8d9d53a8222ac357f6818e6787e82 Mon Sep 17 00:00:00 2001 From: Joe Baker Date: Thu, 28 Nov 2024 16:21:06 +0000 Subject: [PATCH] fix: merged reports --- .github/workflows/test.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b54944b81..90ba1d23e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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