summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Maat <tristan.maat@codethink.co.uk>2019-10-11 17:35:08 +0100
committerTristan Maat <tristan.maat@codethink.co.uk>2019-10-11 17:35:08 +0100
commitc2bbaeb0f185d85771e38ada40aa03dda2d80eac (patch)
tree9b585978887dd2a887bd47ddd8e61a415d87faac
parent23806fd9a0ccd874c4275b6bf6f4d167bf6a0f85 (diff)
downloadbuildstream-tlater/nocover-usedevelop.tar.gz
.gitlab-ci.yml: Assert that tests without `usedevelop` worktlater/nocover-usedevelop
This is partially to prevent issues like #1121, but also to ensure our manifests can be packaged correctly. For now only the test suite is exercised, in the future it would be nice to expand this to other tests (such as the man pages, or source tests), but those don't have -nocover versions yet.
-rw-r--r--.gitlab-ci.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ef31ad326..5576a44f2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -84,6 +84,16 @@ overnight-fedora-30-aarch64:
only:
- schedules
+tests-isolated:
+ # Ensure that our tests also function without usedevelop, although
+ # this forces us to disable coverage reports
+ image: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-fedora:29-master-85428307
+ variables:
+ TEST_COMMAND: "tox -e py{35,36,37}-nocover -- ${PYTEST_ARGS}"
+ EXTERNAL_TESTS_COMMAND: "tox -e py{35,36,37}-external-nocover -- ${PYTEST_ARGS}"
+ <<: *tests
+
+
tests-unix:
# Use fedora here, to a) run a test on fedora and b) ensure that we
# can get rid of ostree - this is not possible with debian-8