summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandan Singh <csingh43@bloomberg.net>2019-12-24 12:31:35 +0000
committerChandan Singh <csingh43@bloomberg.net>2019-12-24 13:07:21 +0000
commit2730edd0a51c67ccf2bdb48e732603f2135c8509 (patch)
tree1d75e8047f30b5152d66dea6763d943222a2e76d
parent74c3b83ab529a08c16dc79bd98e2aad524147c6c (diff)
downloadbuildstream-chandan/fix-nocover-tests.tar.gz
.gitlab-ci.yml: Add CI job to run tests without `--develop` flagchandan/fix-nocover-tests
This is to prevent us from breaking `*-nocover` environments, and in general, ensure that we can run tests correctly without `--develop` flag.
-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