mirror of
https://github.com/nushell/nushell
synced 2024-12-26 13:03:07 +00:00
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:
parent
b1e7bb899a
commit
b36ac8f2f8
1 changed files with 2 additions and 2 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue