Skip to content
Snippets Groups Projects
Commit f12a5240 authored by Dennis Gläser's avatar Dennis Gläser
Browse files

avoid obsolete dunecontrol call

since we now run the test selection stage in the same container as the
build state, this is no longer necessary
parent 135007f9
No related branches found
No related tags found
Loading
...@@ -18,6 +18,7 @@ select tests: ...@@ -18,6 +18,7 @@ select tests:
stage: configure stage: configure
script: script:
- | - |
dunecontrol --opts=$DUNE_OPTS_FILE --current all
if [[ "$TRIGGER_SOURCE" == "merge_request_event" ]]; then if [[ "$TRIGGER_SOURCE" == "merge_request_event" ]]; then
python3 bin/testing/getchangedfiles.py -o changedfiles.txt -t origin/$MR_TARGET_BRANCH_NAME python3 bin/testing/getchangedfiles.py -o changedfiles.txt -t origin/$MR_TARGET_BRANCH_NAME
python3 bin/testing/findtests.py -o affectedtests.json --file-list changedfiles.txt --build-dir build-cmake python3 bin/testing/findtests.py -o affectedtests.json --file-list changedfiles.txt --build-dir build-cmake
...@@ -27,15 +28,16 @@ select tests: ...@@ -27,15 +28,16 @@ select tests:
fi fi
artifacts: artifacts:
paths: paths:
- build-cmake
- affectedtests.json - affectedtests.json
expire_in: 3 hours expire_in: 3 hours
build dumux: build dumux:
stage: build stage: build
script: script:
- dunecontrol --opts=$DUNE_OPTS_FILE --current all
- | - |
pushd build-cmake pushd build-cmake
make clean && make
if [[ "$TRIGGER_SOURCE" == "merge_request_event" ]]; then if [[ "$TRIGGER_SOURCE" == "merge_request_event" ]]; then
python3 ../bin/testing/runselectedtests.py -c ../affectedtests.json -b python3 ../bin/testing/runselectedtests.py -c ../affectedtests.json -b
else else
......
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