Skip to content

Commit

Permalink
try the lcov reporter for codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
codyzu committed Feb 7, 2024
1 parent 6e474b4 commit c87e120
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jobs:
- uses: codecov/codecov-action@v4
with:
# fail_ci_if_error: true # optional (default = false)
files: ./coverage/clover.xml # optional
files: ./coverage/lcov.info # optional
# flags: unittests # optional
# name: codecov-umbrella # optional
token: ${{ secrets.CODECOV_TOKEN }} # required
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"coverage": "pnpm run emulators:exec 'pnpm run test:start --run --coverage'",
"emulators": "firebase emulators:start --project demo-test --only auth,firestore,storage",
"emulators:exec": "firebase emulators:exec --project demo-test --only auth,firestore,storage",
"coverage:report": "nyc report --temp-dir ./coverage/tmp --reporter=text --reporter=html --reporter=clover --exclude-after-remap false",
"coverage:report": "nyc report --temp-dir ./coverage/tmp --reporter=text --reporter=html --reporter=lcov --exclude-after-remap false",
"test:e2e": "pnpm run emulators:exec --import test-data 'pnpm run test:e2e:start'",
"test:e2e:coverage": "rm -Rf ./coverage && COVERAGE=1 pnpm run emulators:exec --import test-data 'pnpm run test:e2e:start' && pnpm run coverage:report",
"test:e2e:ui": "pnpm run emulators:exec --import test-data 'pnpm run test:e2e:start --ui'",
Expand Down

0 comments on commit c87e120

Please sign in to comment.