Make sure tests are actually run when some of them are selected #2653
Labels
A-devops
Area: Pipelines, CI/CD and Dockerfiles
A-infrastructure
Area: Infrastructure changes
C-enhancement
Category: This is an improvement
Motivation
In some cases we select one or a group of tests to be run. For example, in the .yml files to regenerate the cached state, and in #2633 to run some tests with fake activation heights.
However, it's possible that renaming these tests can cause the tests to be no longer run, and we could not notice that (since
cargo test
will happily return 0 indicating success even if no tests are run).Come up with a way to detect if that happens and fail. (For example, we could
grep
the output and check if something has actually run)Examples
Here are some example tickets:
The text was updated successfully, but these errors were encountered: