-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
A typo can lead to accidentally skipping all tests #1108
Comments
Hmm, so I think the fact that we accept filter arguments over the CLI comes back to bite us (the |
I've proposed #1109 to deprecate and disable test name filters before |
Thanks. All makes sense. I guess this issue can be closed as the new issues are more specific and cover everything. |
I've discovered that our CI was not running quite a few of test suites we have. It was weird because when running locally they were being ran, but in the CI they were not.
After quite a lot of debugging I discovered that a typo can lead to strange behavior. The typo was that if the
CARGO_PROFILE
env var was set (to a customci
profile in the CI), the scripts would pass-profile ci
(instead of the desired--profile ci
).This leads to logs of tests being skipped:
I still don't know how is this being parsed. I thought
-p
might be consideredcargo
's--package
/-p
, but we don't have arofile
package, so why wouldn't it fail?The text was updated successfully, but these errors were encountered: