Skip to content

Commit

Permalink
Merge pull request containers#14013 from cevich/fix_main_archive
Browse files Browse the repository at this point in the history
Cirrus: Fix skipping all/most tests
  • Loading branch information
openshift-merge-robot authored Apr 26, 2022
2 parents fc3a482 + 1a9f110 commit d504c3c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions contrib/cirrus/runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,9 @@ dotest() {
function _bail_if_test_can_be_skipped() {
local head base diffs

# Cirrus sets these for PRs but not cron. In cron, we never want to skip.
for v in CIRRUS_CHANGE_IN_REPO DEST_BRANCH; do
# Cirrus sets these for PRs but not branches or cron. In cron and branches,
#we never want to skip.
for v in CIRRUS_CHANGE_IN_REPO CIRRUS_PR; do
if [[ -z "${!v}" ]]; then
msg "[ _cannot do selective skip: \$$v is undefined ]"
return 0
Expand Down

0 comments on commit d504c3c

Please sign in to comment.