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:
Emmanuel Gil Peyrot 2024-06-24 10:58:45 +02:00
parent 1e695d8923
commit 9e07882531
2 changed files with 3 additions and 3 deletions

View file

@ -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:

View file

@ -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'