feat: update coverage reporting to include JSON and LCOV formats
This commit is contained in:
1 parent
a06aba3282
commit
0d3322f0cc
2 files changed
+3
-2
No files matched your search
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user