diff --git a/.codecov.yml b/.codecov.yml index ad57398627d..b5081f7ec77 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -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/" diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index 3391ae270f2..29729e92dd0 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -204,7 +204,7 @@ 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" @@ -212,19 +212,19 @@ jobs: - 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