Closed
Description
CI specifies these two jobs for x86_64-apple-darwin:
rust/src/ci/github-actions/ci.yml
Lines 528 to 544 in 341efb1
Note these two lines (with padding I've added):
./x.py --stage 2 test --skip tests/ui --skip tests/rustdoc --skip tests/run-make-fulldeps
./x.py --stage 2 test tests/ui tests/rustdoc tests/run-make-fulldeps
It appears that the intent was for the first job to run a subset of the tests and the second job to run the complementary subset. However, it seems that --skip
performs a substring match while the list of directories is an exact match. This means that the tests in rustdoc-js
, rustdoc-json
, and rustdoc-ui
are never run on macOS CI — they are excluded by --skip
and never explicitly added back.
Surprisingly, it seems that tests in rustdoc-js-std
are run. That seems like a secondary bug as it isn't behaving the same.