Skip to content
Snippets Groups Projects
Commit 97866c4c authored by Timo Koch's avatar Timo Koch
Browse files

[gitlab-ci] Introduce variable to skip test selection (run all test)

parent b2a29462
No related branches found
No related tags found
1 merge request!3353Feature/fieldcompare
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment