Split out rust doc tests in CI (#24397)

This commit is contained in:
Tyera Eulberg
2022-04-15 21:40:27 -04:00
committed by GitHub
parent 4fda3a3ceb
commit 65d33b3715
3 changed files with 18 additions and 1 deletions

View File

@@ -148,6 +148,18 @@ all_test_steps() {
# Full test suite
command_step stable ". ci/rust-version.sh; ci/docker-run.sh \$\$rust_stable_docker_image ci/test-stable.sh" 70
# Docs tests
if affects \
.rs$ \
^ci/rust-version.sh \
^ci/test-docs.sh \
; then
command_step doctest "ci/test-docs.sh" 15
else
annotate --style info --context test-docs \
"Docs skipped as no .rs files were modified"
fi
wait_step
# BPF test suite