Skip to content

Commit

Permalink
coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
fertkir committed Nov 4, 2023
1 parent 105b74a commit cf91082
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 19 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: cargo test # todo add coverage reporting
- run: cargo clippy --all-targets --all-features
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- name: Test
run: cargo test --all-features
- name: Lint
run: cargo clippy --all-targets --all-features

coverage:
needs: build_and_test
runs-on: ubuntu-latest
container:
image: xd009642/tarpaulin:develop-nightly
options: --security-opt seccomp=unconfined
steps:
- uses: actions/checkout@v4
- name: Generate code coverage
run: cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --out xml
- name: Upload to coveralls.io
uses: coverallsapp/github-action@v2
17 changes: 0 additions & 17 deletions .github/workflows/coverage.yml

This file was deleted.

0 comments on commit cf91082

Please sign in to comment.