Skip to content

Commit

Permalink
Switch to lcov format
Browse files Browse the repository at this point in the history
  • Loading branch information
Bronek committed Apr 12, 2024
1 parent d11698b commit dd4cf4b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
5 changes: 0 additions & 5 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ coverage:
target: 60%
threshold: 2%

parsers:
cobertura:
partials_as_hits: true
handle_missing_conditions : true

ignore:
- "src/test/"
- "src/ripple/beast/test/"
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,27 +204,27 @@ jobs:
configuration: ${{ matrix.configuration }}
cmake-args: >-
-Dcoverage=ON
-Dcoverage_format=xml
-Dcoverage_format=lcov
-DCODE_COVERAGE_VERBOSE=ON
-DCMAKE_CXX_FLAGS="-O0"
-DCMAKE_C_FLAGS="-O0"
cmake-target: coverage
- name: move coverage report
shell: bash
run: |
mv "${build_dir}/coverage.xml" ./
mv "${build_dir}/coverage.lcov" ./
- name: archive coverage report
uses: actions/upload-artifact@v3
with:
name: coverage.xml
path: coverage.xml
name: coverage.lcov
path: coverage.lcov
retention-days: 30
- name: upload coverage report
uses: wandalen/wretry.action@v1.4.10
with:
action: codecov/codecov-action@v4.3.0
with: |
files: coverage.xml
files: coverage.lcov
fail_ci_if_error: true
disable_search: true
verbose: true
Expand Down

0 comments on commit dd4cf4b

Please sign in to comment.