Skip to content

Commit

Permalink
Skip machine tests if they don't need to be run
Browse files Browse the repository at this point in the history
Followup to containers#13936 : add an exclusion to localmachine tests
so we can avoid running those on test- or doc-only PRs.
Reason: containers#22551, the machine-start-timeout flake, is causing
hours of wasted time.

Signed-off-by: Ed Santiago <[email protected]>
  • Loading branch information
edsantiago committed May 6, 2024
1 parent 07d8b32 commit 87747ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contrib/cirrus/runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,8 @@ dotest() {
}

_run_machine-linux() {
# N/B: Can't use _bail_if_test_can_be_skipped here b/c content isn't under test/
_bail_if_test_can_be_skipped pkg/machine/e2e

showrun make localmachine |& logformatter
}

Expand Down

0 comments on commit 87747ca

Please sign in to comment.