Skip to content

Commit

Permalink
ci: remove coverage job
Browse files Browse the repository at this point in the history
It's been broken for a while.
  • Loading branch information
gdesmott committed Oct 31, 2023
1 parent d576619 commit 1059ca5
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,29 +82,3 @@ jobs:
with:
command: clippy
args: -- -D warnings

coverage:
name: Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: llvm-tools-preview
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --no-fail-fast
env:
RUSTFLAGS: "-Zinstrument-coverage"
LLVM_PROFILE_FILE: "hawkbitrs-%p-%m.profraw"
- name: Install grcov
run: if [[ ! -e ~/.cargo/bin/grcov ]]; then cargo install grcov; fi
- name: Run grcov
run: grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore "hawkbit/examples/*" --ignore "*target*" -o coverage.lcov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
files: ./coverage.lcov

0 comments on commit 1059ca5

Please sign in to comment.