Files
cristallina_analysis_package/.gitlab-ci.yml

21 lines
533 B
YAML

# 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:
- echo "Hello, $GITLAB_USER_LOGIN!"
run_tests:
stage: test
before_script:
- echo "$CI_BUILDS_DIR"
- source /home/gitlab-runner/miniconda3/bin/activate cristallina
- echo `pwd`
- pip install -e .
script:
- echo "Starting pytest run"
- coverage run -m pytest
- coverage report
coverage: '/TOTAL.*\s+(\d+\%)/'