Skip to content

Commit

Permalink
ci(github): fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
henryhchchc committed Apr 23, 2024
1 parent 9e535f6 commit 4e3018d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,12 @@ jobs:
run: |
cargo llvm-cov clean --workspace
cargo llvm-cov nextest --all-features --no-report -E 'kind(lib)'
cargo llvm-cov report --codecov --output-path ./target/codecov.json
cargo llvm-cov report --codecov --output-path ./target/codecov-unit.json
- name: Upload Coverage Data
uses: actions/upload-artifact@v4
with:
name: codecov-unit.json
path: ./target/codecov.json
path: ./target/codecov-unit.json

integration_test:
name: Test / integration
Expand Down Expand Up @@ -172,12 +172,12 @@ jobs:
run: |
cargo llvm-cov clean --workspace
cargo llvm-cov nextest --all-features --no-report --run-ignored=all -E 'kind(test)'
cargo llvm-cov report --codecov --output-path ./target/codecov.json
cargo llvm-cov report --codecov --output-path ./target/codecov-integration.json
- name: Upload Coverage Data
uses: actions/upload-artifact@v4
with:
name: codecov-integration.json
path: ./target/codecov.json
path: ./target/codecov-integration.json

codecov:
name: Report / Codecov
Expand Down

0 comments on commit 4e3018d

Please sign in to comment.