diff options
author | rtkay123 <dev@kanjala.com> | 2025-08-17 15:59:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-17 15:59:30 +0200 |
commit | 725739985d853b07d73fa7fcd6db1f2f1b0000b6 (patch) | |
tree | ec45e23be9a1b3050b46e7b996efde78b4c9e53c | |
parent | a89d72d9bc06e6d9036ccc01058a90cf9787862e (diff) | |
download | warden-725739985d853b07d73fa7fcd6db1f2f1b0000b6.tar.bz2 warden-725739985d853b07d73fa7fcd6db1f2f1b0000b6.zip |
ci(cov): fix upload (#7)
-rw-r--r-- | .github/codecov.yml | 4 | ||||
-rw-r--r-- | .github/workflows/ci.yaml | 22 |
2 files changed, 12 insertions, 14 deletions
diff --git a/.github/codecov.yml b/.github/codecov.yml index a51dfc6..dc4c65c 100644 --- a/.github/codecov.yml +++ b/.github/codecov.yml @@ -7,7 +7,3 @@ coverage: project: default: threshold: 1% - -comment: - layout: "files" - require_changes: true diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6c4b67c..ef6d61d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -166,19 +166,21 @@ jobs: for processor in warden pseudonyms aggregator configuration; do cp crates/$processor/.env.example crates/$processor/.env done - - name: Collect coverage data - # Generate separate reports for nextest and doctests, and combine them. - run: | - cargo llvm-cov nextest --workspace --locked --all-features --lcov --output-path lcov.info - # switch to nightly - # cargo llvm-cov --no-report nextest - # cargo llvm-cov --no-report --doc - # cargo llvm-cov report --doctests --lcov --output-path lcov.info - - name: Upload coverage reports to Codecov + # - name: Collect coverage data + # # Generate separate reports for nextest and doctests, and combine them. + # run: | + # cargo llvm-cov nextest --workspace --locked --all-features --lcov --output-path lcov.info + # # switch to nightly + # # cargo llvm-cov --no-report nextest + # # cargo llvm-cov --no-report --doc + # # cargo llvm-cov report --doctests --lcov --output-path lcov.info + - name: cargo llvm-cov + run: cargo llvm-cov nextest --workspace --locked --all-features --lcov --output-path lcov.info + - name: Upload to codecov.io uses: codecov/codecov-action@v5 with: + fail_ci_if_error: true token: ${{ secrets.CODECOV_TOKEN }} - files: lcov.info slug: ${{ github.repository }} - name: Stop stack if: always() |