summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Coldrick <thomas.coldrick@codethink.co.uk>2019-09-20 11:46:23 +0100
committerThomas Coldrick <othko97@gmail.com>2019-10-15 19:20:03 +0100
commit94e9cc542b3e8154706809e5dde54ff9e7235d31 (patch)
tree77bf4e0c11f1c438ead7f4a5106ad7e3c53d1c17
parentc21fdd559356c88465eac352a302284f8495bf7e (diff)
downloadbuildstream-coldtom/external-plugins.tar.gz
Add external plugin tests to CIcoldtom/external-plugins
Runs external plugin tests on fedora 29 with allowed failure. At present this only tests against a branch, as there is tooling missing in bst-plugins-experimental, and there is no tag which would be compatible. In future there should be two targets, one testing plugins master and one testing the last tag.
-rw-r--r--.gitlab-ci.yml15
1 files changed, 13 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ef31ad326..51e0f8c57 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,7 +18,7 @@ variables:
INTEGRATION_CACHE: "${CI_PROJECT_DIR}/cache/integration-cache"
PYTEST_ARGS: "--color=yes --integration -n 2"
TEST_COMMAND: "tox -- ${PYTEST_ARGS}"
- EXTERNAL_TESTS_COMMAND: "tox -e py{35,36,37}-external -- ${PYTEST_ARGS}"
+ EXTERNAL_TESTS_COMMAND: "tox -e py37-plugins-master -- ${PYTEST_ARGS}"
COVERAGE_PREFIX: "${CI_JOB_NAME}."
@@ -44,7 +44,6 @@ variables:
# Run the tests as a simple user to test for permission issues
- su buildstream -c "${TEST_COMMAND}"
- - su buildstream -c "${EXTERNAL_TESTS_COMMAND}"
after_script:
except:
@@ -195,6 +194,18 @@ tests-spawn-multiprocessing-start-method:
variables:
BST_FORCE_START_METHOD: "spawn"
+tests-external-plugins:
+ image: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-fedora:30-master-83237142
+ allow_failure: true
+ script:
+ - mkdir -p "${INTEGRATION_CACHE}"
+ - useradd -Um buildstream
+ - chown -R buildstream:buildstream .
+
+ # Run the tests as a simple user to test for permission issues
+ - su buildstream -c "${EXTERNAL_TESTS_COMMAND}"
+
+
# Run type checkers
mypy:
stage: test