diff --git a/.gitlab-ci/default.yml b/.gitlab-ci/default.yml index 6b04a76eb5af025a9f1f30dbb4ec837314ebf63a..195b0c83d2dea9700e440f39ed6836ae1da818fa 100644 --- a/.gitlab-ci/default.yml +++ b/.gitlab-ci/default.yml @@ -92,7 +92,12 @@ select tests: stage: select script: - | - if [[ -n "$MR_TARGET_BRANCH_NAME" ]]; then + if [[ -n "$DUMUX_SKIP_TEST_SELECTION" ]]; then + echo "Skipping test selection, build/test stages will consider all tests!" + touch affectedtests.json + touch changedfiles.txt + + elif [[ -n "$MR_TARGET_BRANCH_NAME" ]]; then echo "Detecting changes w.r.t to target branch '$MR_TARGET_BRANCH_NAME'" python3 bin/testing/getchangedfiles.py --outfile changedfiles.txt \ --target-tree origin/$MR_TARGET_BRANCH_NAME