You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by gi...@apache.org on 2020/12/29 13:07:43 UTC

[buildstream] 05/05: .gitlab-ci.yml: Use recent tox

This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a commit to branch tristan/optional-coverage-test
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 79b8f520dcb50b6ec6726b4129b58e8465aacdb9
Author: Tristan Van Berkom <tr...@codethink.co.uk>
AuthorDate: Thu Feb 28 15:37:26 2019 +0900

    .gitlab-ci.yml: Use recent tox
    
    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.
---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5796561..cbfd44e 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