diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e4fbcb7248..fdc9c19c07 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -461,6 +461,7 @@ Ubuntu_Clang_tests_Debug: stage: test variables: PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" + EXAMPLE_SUITE_REVISION: f51b832e033429a7cdc520e0e48d7dfdb9141caa cache: paths: - .cache/pip diff --git a/CI/run_integration_tests.sh b/CI/run_integration_tests.sh index d7b025df52..e79408926a 100755 --- a/CI/run_integration_tests.sh +++ b/CI/run_integration_tests.sh @@ -1,6 +1,12 @@ #!/bin/bash -ex -git clone --depth=1 https://gitlab.com/OpenMW/example-suite.git +mkdir example-suite +cd example-suite +git init +git remote add origin https://gitlab.com/OpenMW/example-suite.git +git fetch --depth=1 origin ${EXAMPLE_SUITE_REVISION} +git checkout FETCH_HEAD +cd .. xvfb-run --auto-servernum --server-args='-screen 0 640x480x24x60' \ scripts/integration_tests.py --omw build/install/bin/openmw --workdir integration_tests_output example-suite/