summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorChandan Singh <csingh43@bloomberg.net>2019-12-24 12:31:35 +0000
committerChandan Singh <chandan@chandansingh.net>2019-12-24 15:26:22 +0000
commit08991a2044cd821729a6a2b86a14a7cc658fa51b (patch)
treee19004217bb30060e49156b28875c60245a38f70 /.gitlab-ci.yml
parent2256ba6eea248b4e4f3fe827d61431fa6d63229e (diff)
downloadbuildstream-08991a2044cd821729a6a2b86a14a7cc658fa51b.tar.gz
.gitlab-ci.yml: Add CI job to run tests without `--develop` flag
This is to prevent us from breaking `*-nocover` environments, and in general, ensure that we can run tests correctly without `--develop` flag.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1fe25810a..7025a9f7a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -227,6 +227,14 @@ tests-spawn-multiprocessing-start-method:
- chown -R buildstream:buildstream .
- su buildstream -c "tox -- ${PYTEST_ARGS} tests/{artifactcache,cachekey,elements,format,frontend,internals,plugins,sourcecache}"
+tests-no-usedevelop:
+ # Ensure that tests also pass without `--develop` flag.
+ image: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-fedora:31-${DOCKER_IMAGE_VERSION}
+ <<: *tests
+ variables:
+ TOXENV: py35-nocover,py36-nocover,py37-nocover,py38-nocover
+
+
# Run type checkers
mypy:
stage: test