CI: Stop running ignored tests
This got introduced in 2e3004f89e
, but
there should be no reason to run ignored tests; if they are #[ignore]
it’s probably for a good reason.
This is particularly annoying with doctests, where ignore is used to
explicitly highlight broken/untested code.
Thanks jonas’ for noticing!
This commit is contained in:
parent
1e695d8923
commit
9e07882531
2 changed files with 3 additions and 3 deletions
|
@ -33,7 +33,7 @@ jobs:
|
|||
- name: Print versions
|
||||
run: rustc --version; cargo --version
|
||||
- name: Run tests
|
||||
run: cargo test --verbose --release -- --include-ignored
|
||||
run: cargo test --verbose
|
||||
- name: Run tests without default features
|
||||
run: cargo test --verbose --no-default-features
|
||||
env:
|
||||
|
@ -50,7 +50,7 @@ jobs:
|
|||
- name: Print versions
|
||||
run: rustc --version; cargo --version
|
||||
- name: Run tests
|
||||
run: cargo test --verbose --release -- --include-ignored
|
||||
run: cargo test --verbose
|
||||
- name: Run tests without default features
|
||||
run: cargo test --verbose --no-default-features
|
||||
env:
|
||||
|
|
|
@ -31,7 +31,7 @@ variables:
|
|||
.test:
|
||||
stage: test
|
||||
script:
|
||||
- cargo test --verbose --release -- --include-ignored
|
||||
- cargo test --verbose
|
||||
- cargo test --verbose --no-default-features
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
||||
|
|
Loading…
Reference in a new issue