From 696ae72079c4bce08bd4f3d257b314675e6a8cd4 Mon Sep 17 00:00:00 2001 From: beac0n Date: Sun, 20 Oct 2024 13:55:35 +0200 Subject: [PATCH] fix coverage add end to end tests --- .github/workflows/rust.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index fb9490d..8e91ccf 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -41,8 +41,20 @@ 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 @@ -50,8 +62,6 @@ jobs: 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