Skip to content

CI: fix typo causing only ignored tests to run #104

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

CDThomas
Copy link
Contributor

This change fixes up a typo in the test workflow in CI that's causing only ignored tests to run.

Confusingly, --ignored runs only ignored tests, but --include-ignored runs tests whether they're ignored or not. --include-ignored is probably what we want.

Even more confusingly, the --ignored and --include-ignored flags don't seem to be well documented, but it is mentioned in The Book here: https://doc.rust-lang.org/book/ch11-02-running-tests.html#ignoring-some-tests-unless-specifically-requested.

This change fixes up a typo in the test workflow in CI that's causing only
ignored tests to run.

Confusingly, `--ignored` runs *only* ignored tests, but `--include-ignored`
runs tests whether they're ignored or not. `--include-ignored` is probably
what we want.

Even more confusingly, the `--ignored` and `--include-ignored` flags don't
seem to be well documented, but it is mentioned in The Book here:
https://doc.rust-lang.org/book/ch11-02-running-tests.html#ignoring-some-tests-unless-specifically-requested.
@CDThomas CDThomas changed the title CI: fix typo causing only ignored tests to run in CI CI: fix typo causing only ignored tests to run May 19, 2025
@CDThomas
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant