diff options
-rw-r--r-- | .gitlab-ci.yml | 15 |
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 |