summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2019-02-28 15:37:26 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2019-02-28 18:12:19 +0900
commit90728d02b26302a5e8ba9d7ca6a4c56eb7dbbcb8 (patch)
treef4760afe7ea66cf04bd6114357f82c06a77efe1e
parent57979e1c72a3c45c9f5b43c608727c138150345c (diff)
downloadbuildstream-tristan/optional-coverage.tar.gz
.gitlab-ci.yml: Use recent toxtristan/optional-coverage
There appears to be multiple versions of tox in the WSL test environment, prepending /root/.local/bin to the PATH while running tests ensures that we are using a recent enough tox to execute the tests.
-rw-r--r--.gitlab-ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 579656198..cbfd44ec4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -158,10 +158,10 @@ tests-wsl:
before_script:
- mount
- df -h
- - tox --version
+ - PATH=/root/.local/bin:$PATH tox --version
script:
- - "${TEST_COMMAND}"
+ - PATH=/root/.local/bin:$PATH ${TEST_COMMAND}
allow_failure: true
# Automatically build documentation for every commit, we want to know