diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index ff533b7..59d1993 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -49,8 +49,9 @@ jobs: just coverage-codecov - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v5 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} files: ./codecov.json disable_search: true + verbose: true diff --git a/.gitignore b/.gitignore index b93c28d..aff1d20 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,7 @@ assets/site/build.css # Coverage reports lcov.info +codecov.json coverage.html # Profiling output diff --git a/Justfile b/Justfile index 7d23022..96cf89a 100644 --- a/Justfile +++ b/Justfile @@ -2,8 +2,8 @@ set shell := ["bash", "-c"] set windows-shell := ["powershell.exe", "-NoLogo", "-Command"] # Regex to exclude files from coverage report, double escapes for Justfile + CLI -# You can use src\\\\..., but the filename alone is acceptable too -coverage_exclude_pattern := "src\\\\app\\.rs|audio\\.rs|src\\\\error\\.rs|platform\\\\emscripten\\.rs|bin\\\\.+\\.rs|main\\.rs|platform\\\\desktop\\.rs|platform\\\\tracing_buffer\\.rs|platform\\\\buffered_writer\\.rs|systems\\\\debug\\.rs|systems\\\\profiling\\.rs" +# You can use src/..., but the filename alone is acceptable too +coverage_exclude_pattern := "src/app\\.rs|audio\\.rs|src/error\\.rs|platform/emscripten\\.rs|bin/.+\\.rs|main\\.rs|platform/desktop\\.rs|platform/tracing_buffer\\.rs|platform/buffered_writer\\.rs|systems/debug\\.rs|systems/profiling\\.rs" binary_extension := if os() == "windows" { ".exe" } else { "" } diff --git a/codecov.yml b/codecov.yml index 0f3ce60..8045210 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,17 +1,3 @@ -coverage: - status: - project: - default: - target: 70% - patch: - default: - informational: true - ignore: - "src/(?:bin|platform))/.+\\.rs" - "src/(?:app|events|formatter)\\.rs" - -comment: - layout: "reach,diff,flags,files,footer" - behavior: default - require_changes: false