diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9610a8a..f122f7a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,6 @@ +# requires up-to-date conda environment to run the tests as +# the gitlab runner does not have access to /sf... + build-job: stage: build script: @@ -11,5 +14,7 @@ run_tests: - echo `pwd` - pip install -e . script: - - echo "Hello, $GITLAB_USER_LOGIN!" - - pytest -v \ No newline at end of file + - echo "Starting pytest run" + - coverage run -m pytest + - coverage report + coverage: '/TOTAL.*\s+(\d+\%)/'