Skip to content

Commit

Permalink
fix coverage add end to end tests
Browse files Browse the repository at this point in the history
  • Loading branch information
beac0n committed Oct 20, 2024
1 parent 7ae4aee commit 696ae72
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,27 @@ jobs:
- name: Check typos
uses: crate-ci/typos@master


test:
name: Test
runs-on: ubuntu-22.04
steps:
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
- name: Checkout
uses: actions/checkout@v4
- name: Run tests end to end
run: make test_end_to_end

coverage:
name: Coverage
runs-on: ubuntu-latest
container:
image: xd009642/tarpaulin:develop-nightly
options: --security-opt seccomp=unconfined
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Run tests end to end
run: make test_end_to_end
- name: Generate code coverage
run: cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --out xml --jobs 1
- name: Upload to codecov.io
Expand Down

0 comments on commit 696ae72

Please sign in to comment.