diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index eada61b27a..aa042443dc 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -270,10 +270,13 @@ jobs: NAMADA_MASP_PARAMS_DIR: /home/runner/.masp-params RUSTFLAGS: "-C linker=clang -C link-arg=-fuse-ld=/usr/local/bin/mold" - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: - files: lcov.info fail_ci_if_error: true + files: lcov.info + verbose: true + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: Print sccache stats if: always() run: sccache --show-stats || true diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000000..dfcda309ab --- /dev/null +++ b/codecov.yml @@ -0,0 +1,29 @@ +coverage: + precision: 2 + round: down + range: "60...90" + +github_checks: + annotations: false + +ignore: + - audits/* + - docker/* + - documentation/* + - examples/* + - genesis/* + - proto/* + - scripts/* + - *.hsb + - *.toml + - *.lock + - *.md + - *.yml + - .github/* + - .vscode + - changelog/* + - LICENSE + - Makefile + - crates/tests + - crates/test_utils + - crates/benches \ No newline at end of file