From dd565bbdd449fb6a55d4c290e359b3a3bf1e937b Mon Sep 17 00:00:00 2001 From: Simon Oehrl <oehrl@vr.rwth-aachen.de> Date: Mon, 13 Jan 2020 18:58:52 +0100 Subject: [PATCH] Update test script --- .gitlab-ci.yml | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5e4691b..50f0ce7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,21 +1,10 @@ +include: + - project: 'vr-group/in-situ-pipeline/insite' + ref: feature/add-test-pipeline + file: '/test-setup.yml' + variables: - GIT_STRATEGY: none - + INSITE_NEST_MODULE_COMMIT: $CI_COMMIT_SHA + api_test: - tags: - - centos - - docker - artifacts: - paths: - - insite/tests/docker-compose.log - expire_in: 1 week - when: always - script: - - rm -rf insite - - git clone --branch feature/add-test-pipeline --single-branch --recurse-submodules https://devhub.vr.rwth-aachen.de/VR-Group/in-situ-pipeline/insite.git - - cd insite/info-node - - git checkout $CI_COMMIT_SHA - - cd ../tests - - pip3 install --user -r requirements.txt - - pytest - \ No newline at end of file + extends: .api_test -- GitLab