Skip to content

Commit

Permalink
change coverage gha
Browse files Browse the repository at this point in the history
  • Loading branch information
aumetra committed Dec 17, 2024
1 parent 18722b0 commit b6e024a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ jobs:
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate code coverage
run: cargo llvm-cov nextest --all-features --workspace --lcov --output-path lcov.info
run: cargo llvm-cov nextest --all-features --workspace --codecov --output-path codecov.json
env:
DATABASE_URL: "postgres://postgres:postgres@localhost/test_db"
MINIO_URL: "http://127.0.0.1:9000"
REDIS_URL: "redis://localhost"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
files: lcov.info
files: codecov.json
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit b6e024a

Please sign in to comment.