From b36ac8f2f8b15b60fa23073d69aabb0e10d5d616 Mon Sep 17 00:00:00 2001 From: Stefan Holderbach Date: Sat, 25 Feb 2023 17:04:42 +0100 Subject: [PATCH] Try to test similar things in coverage (#8056) # Description - Try to run `cargo test` with out narrowing. - Remove restrictions around plugins -> include plugin tests # User-Facing Changes None # Tests + Formatting Qualifying test suite unchanged --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd0b8b064f..4f55fc33f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -184,8 +184,8 @@ jobs: run: | source <(cargo llvm-cov show-env --export-prefix) # Set the environment variables needed to get coverage. cargo llvm-cov clean --workspace # Remove artifacts that may affect the coverage results. - cargo build --lib --bins --examples --workspace --profile ci - cargo test --lib --bins --examples --workspace --profile ci --exclude nu_plugin_* ${{ matrix.flags }} + cargo build --workspace --profile ci + cargo test --workspace --profile ci cargo llvm-cov report --profile ci --lcov --output-path lcov.info - name: Upload coverage reports to Codecov with GitHub Action