Skip to content

Commit

Permalink
Fix coverage stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
svenstaro committed Jun 2, 2024
1 parent afb6d35 commit 6e52043
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,14 @@ jobs:
- run: cargo build --all
- run: cargo fmt --all -- --check
- run: cargo clippy -- -D warnings
- run: cargo test --all -- --test-threads 1
- run: |
cargo install cargo-tarpaulin
cargo tarpaulin --out Xml -- --test-threads 1
bash <(curl -s https://codecov.io/bash)

- run: cargo install cargo-tarpaulin
if: matrix.os == 'ubuntu-latest'
- run: cargo tarpaulin --out xml -- --test-threads 1
if: matrix.os == 'ubuntu-latest'
- name: Upload coverage report to codecov.io
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
if: matrix.os == 'ubuntu-latest'

0 comments on commit 6e52043

Please sign in to comment.