feat: update coverage reporting to include JSON and LCOV formats

This commit is contained in:
nessar committed 2026-04-09 00:31:16 +02:00
1 parent a06aba3282
commit 0d3322f0cc
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -56,8 +56,9 @@ jobs:
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
files: ./mobile/coverage/coverage-final.json
files: ./mobile/coverage/lcov.info
flags: mobile
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
- name: Build frontend
+1 -1
View File
@@ -7,7 +7,7 @@ export default defineConfig({
clearMocks: true,
coverage: {
provider: "istanbul",
reporter: ["text", "html"],
reporter: ["text", "html", "json", "lcov"],
include: ["src/**/*.ts"],
thresholds: {
lines: 90,