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
This commit is contained in:
Stefan Holderbach
2023-02-25 17:04:42 +01:00
committed by GitHub
parent b1e7bb899a
commit b36ac8f2f8

View File

@ -184,8 +184,8 @@ jobs:
run: | run: |
source <(cargo llvm-cov show-env --export-prefix) # Set the environment variables needed to get coverage. 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 llvm-cov clean --workspace # Remove artifacts that may affect the coverage results.
cargo build --lib --bins --examples --workspace --profile ci cargo build --workspace --profile ci
cargo test --lib --bins --examples --workspace --profile ci --exclude nu_plugin_* ${{ matrix.flags }} cargo test --workspace --profile ci
cargo llvm-cov report --profile ci --lcov --output-path lcov.info cargo llvm-cov report --profile ci --lcov --output-path lcov.info
- name: Upload coverage reports to Codecov with GitHub Action - name: Upload coverage reports to Codecov with GitHub Action