mirror of
https://github.com/containers/podman.git
synced 2025-10-26 02:35:43 +08:00
Merge pull request #23225 from edsantiago/no-more-ci-docs
pr-should-include-tests: no more CI:DOCS override
This commit is contained in:
@ -7,11 +7,6 @@ ME=$(basename $0)
|
|||||||
# Github label which allows overriding this check
|
# Github label which allows overriding this check
|
||||||
OVERRIDE_LABEL="No New Tests"
|
OVERRIDE_LABEL="No New Tests"
|
||||||
|
|
||||||
# Docs-only changes are excused
|
|
||||||
if [[ "${CIRRUS_CHANGE_TITLE}" =~ CI:DOCS ]]; then
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
# HEAD should be good enough, but the CIRRUS envariable allows us to test
|
# HEAD should be good enough, but the CIRRUS envariable allows us to test
|
||||||
head=${CIRRUS_CHANGE_IN_REPO:-HEAD}
|
head=${CIRRUS_CHANGE_IN_REPO:-HEAD}
|
||||||
# Base of this PR. Here we absolutely rely on cirrus.
|
# Base of this PR. Here we absolutely rely on cirrus.
|
||||||
|
|||||||
@ -97,7 +97,7 @@ function run_test_script() {
|
|||||||
testnum=$(( testnum + 1 ))
|
testnum=$(( testnum + 1 ))
|
||||||
|
|
||||||
CIRRUS_CHANGE_TITLE="[CI:DOCS] hi there" $test_script &>/dev/null
|
CIRRUS_CHANGE_TITLE="[CI:DOCS] hi there" $test_script &>/dev/null
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 1 ]]; then
|
||||||
echo "not ok $testnum $rest (override with CI:DOCS)"
|
echo "not ok $testnum $rest (override with CI:DOCS)"
|
||||||
rc=1
|
rc=1
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user