Skip to content

Commit

Permalink
Switch back to llvm-cov
Browse files Browse the repository at this point in the history
  • Loading branch information
timonv committed Sep 10, 2024
1 parent 117a997 commit 0e71f7e
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,28 @@ jobs:
test:
name: coverage
runs-on: ubuntu-latest
env:
RUST_LOG: swiftide=debug
RUST_BACKTRACE: 1
steps:
- name: Checkout repository
uses: actions/checkout@v4

- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools-preview
components: llvm-tools
- name: Install Protoc
uses: arduino/setup-protoc@v3
- name: Cache Cargo dependencies
uses: Swatinem/rust-cache@v2
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@v2
with:
tool: cargo-tarpaulin
tool: cargo-llvm-cov
- name: Generate code coverage
run: |
cargo +nightly tarpaulin --workspace --all-features --tests --timeout 1200 --coveralls ${{ secrets.COVERALLS_REPO_TOKEN }}
cargo llvm-cov --lcov --output-path target/lcov.info --all-features --workspace
# - name: Coveralls
# uses: coverallsapp/github-action@v2
- name: Coveralls
uses: coverallsapp/github-action@v2

0 comments on commit 0e71f7e

Please sign in to comment.