diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 49bec92..d11443c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -29,7 +29,7 @@ jobs: run: cargo xtask dependencies -dip sudo - name: run tests with coverage - run: cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --exclude-files build.rs xtask* --out Xml + run: cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --exclude-files build.rs -e xtask --out Xml - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3 @@ -40,7 +40,7 @@ jobs: flags: unittests - name: run tests with coverage as Admin - run: sudo -E /usr/local/cargo/bin/cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --exclude-files xtask* build.rs --out Xml + run: sudo -E /usr/local/cargo/bin/cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --exclude-files build.rs -e xtask --out Xml - name: Upload coverage reports to Codecov as Admin uses: codecov/codecov-action@v3