Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
radumarias authored May 26, 2024
1 parent 32f7a9d commit 2ca4e49
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,9 @@ jobs:
- uses: actions/checkout@v4
- name: Set default nightly
run: rustup default nightly && rustup update
- name: Install cargo-tarpaulin
run: cargo install cargo-tarpaulin
- name: Build
run: cargo build --all --verbose
- name: Run tests
run: cargo test --tests --lib --verbose -- --show-output --nocapture
- name: Run doctests
run: cargo test --package rencfs --doc --verbose -- --show-output --nocapture
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Run tests with coverage
run: cargo tarpaulin --out Xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
files: ./cobertura.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 2ca4e49

Please sign in to comment.