*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Verified Commit fcedee1b authored by Tsepelakis, Sotirios's avatar Tsepelakis, Sotirios :dart:
Browse files

CI: add tests

parent df633f8e
Branches
Tags
2 merge requests!131CI: add tests,!80Add test cases
# vim: ts=2
stages:
- testing
- release
run-tests:
stage: testing
script:
- pip install --upgrade pip pipenv
- pipenv install -d
- pipenv run ./run-tests.sh
coverage: /TOTAL.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/
sonarqube-check:
stage: testing
variables:
SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar" # Defines the location of the analysis task cache
GIT_DEPTH: "0" # Tells git to fetch all the branches of the project, required by the analysis task
SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar" # Defines the location of the analysis task cache
GIT_DEPTH: "0" # Tells git to fetch all the branches of the project, required by the analysis task
cache:
key: "${CI_JOB_NAME}"
paths:
......@@ -16,6 +29,9 @@ sonarqube-check:
- merge_requests
pypi-release:
stage: release
needs:
- run-tests
rules:
- if: '$CI_COMMIT_TAG =~ /^v\d+/'
script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment