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 16:05:17 +0900
commit79b8f520dcb50b6ec6726b4129b58e8465aacdb9 (patch)
treeb9fb9382fb700d6d2de25d8cffecfea76c2e88be
parent4404fd25768a7b611ec469fd99f7823f2bff6b10 (diff)
downloadbuildstream-tristan/optional-coverage-test.tar.gz
.gitlab-ci.yml: Use recent toxtristan/optional-coverage-test
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