Commit 9641f9ad authored by Jonathan Maw's avatar Jonathan Maw

gitlab-ci: Make WSL tests only run automatically on master

WSL tests may be run on non-master branches manually.

WSL tests on master do not have "allow-failure" so we will be notified
if it's failing.
parent e1b1e6c9
Pipeline #52740714 passed with stages
in 38 minutes and 27 seconds
......@@ -151,7 +151,7 @@ lint:
except:
- schedules
tests-wsl:
tests-wsl-master:
stage: test
variables:
LC_ALL: C.UTF-8
......@@ -162,10 +162,27 @@ tests-wsl:
- mount
- df -h
- PATH=/root/.local/bin:$PATH tox --version
script:
- PATH=/root/.local/bin:$PATH ${TEST_COMMAND}
only:
- master
tests-wsl-non-master:
stage: test
variables:
LC_ALL: C.UTF-8
LANG: C.UTF-8
tags:
- wsl
before_script:
- mount
- df -h
- PATH=/root/.local/bin:$PATH tox --version
script:
- PATH=/root/.local/bin:$PATH ${TEST_COMMAND}
allow_failure: true
when: manual
except:
- master
# Automatically build documentation for every commit, we want to know
# if building documentation fails even if we're not deploying it.
......
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