Commit 955b184e authored by Jürg Billeter's avatar Jürg Billeter

.gitlab-ci.yml: Support test execution in other repositories

Do not make any assumptions about the working directory as that varies
across repositories.

Fixes #251
parent 20b8d035
Pipeline #17489056 passed with stages
in 26 minutes and 30 seconds
......@@ -68,9 +68,10 @@ linux-tests:
stage: test
variables:
PYTEST_ADDOPTS: "--color=yes"
INTEGRATION_CACHE: "/builds/BuildStream/buildstream/cache/"
script:
- export INTEGRATION_CACHE="$(pwd)/cache/"
# Unpack and get into dist/buildstream
- cd dist && ./unpack.sh
- chown -R buildstream:buildstream buildstream
......@@ -95,8 +96,10 @@ unix-tests:
variables:
BST_FORCE_BACKEND: "unix"
PYTEST_ADDOPTS: "--color=yes"
INTEGRATION_CACHE: "/builds/BuildStream/buildstream/cache/"
script:
- export INTEGRATION_CACHE="$(pwd)/cache/"
# We remove the Bubblewrap and OSTree packages here so that we catch any
# codepaths that try to use them. Removing OSTree causes fuse-libs to
# disappear unless we mark it as user-installed.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment