mirror of
https://github.com/containers/podman.git
synced 2025-12-04 20:28:40 +08:00
cirrus.yml: add CI:ALL mode to force all tests
Now that we have source based skips there might be a case where we have to run all tests. One option is to simply change a line in one of the danger files but having something that can be set as title might be easier for users. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@@ -62,7 +62,7 @@ class TestDependsOn(TestCaseBase):
|
||||
|
||||
def test_skips(self):
|
||||
"""2024-06 PR#23030: ugly but necessary duplication in skip conditions. Prevent typos or unwanted changes."""
|
||||
beginning = "$CIRRUS_PR != '' && !changesInclude('.cirrus.yml', 'Makefile', 'contrib/cirrus/**', 'vendor/**', 'hack/**', 'version/rawversion/*') && "
|
||||
beginning = "$CIRRUS_PR != '' && $CIRRUS_CHANGE_TITLE !=~ '.*CI:ALL.*' && !changesInclude('.cirrus.yml', 'Makefile', 'contrib/cirrus/**', 'vendor/**', 'hack/**', 'version/rawversion/*') && "
|
||||
real_source_changes = " && !(changesInclude('**/*.go', '**/*.c') && !changesIncludeOnly('test/**', 'pkg/machine/e2e/**'))"
|
||||
|
||||
for task_name in self.ALL_TASK_NAMES:
|
||||
|
||||
Reference in New Issue
Block a user