diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 93b28dd9a0345042b61c57b1d74b00b2fc4985a4..32cdebee65784347b1520601762610043fdeaff5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -55,38 +55,6 @@ tests (from scratch): - badges/ - test_results/ -coverage (from scratch): - tags: - - base - - zam347 - stage: test - only: - - master - - /^release.*$/ - - develop - - lukas_issue095_tech_mlt-runner - variables: - FAILURE_THRESHOLD: 50 - COVERAGE_PASS_THRESHOLD: 80 - TEST_TYPE: "scratch" - before_script: - - chmod +x ./CI/update_badge.sh - - ./CI/update_badge.sh > /dev/null - script: - - zypper --non-interactive install binutils libproj-devel gdal-devel - - zypper --non-interactive install proj geos-devel - - pip install -r requirements.txt - - chmod +x ./CI/run_pytest_coverage.sh - - ./CI/run_pytest_coverage.sh - after_script: - - ./CI/update_badge.sh > /dev/null - artifacts: - name: pages - when: always - paths: - - badges/ - - coverage/ - ### Tests (on GPU) ### tests (on GPU): tags: diff --git a/src/helpers.py b/src/helpers.py index 2ab628d739989f32735d5289d92c09a494cf5166..4289e9f5b6f0ec688d6ffa23b29338ec2be3ca58 100644 --- a/src/helpers.py +++ b/src/helpers.py @@ -99,7 +99,7 @@ class TimeTracking(object): def prepare_host(create_new=True, sampling="daily"): hostname = socket.gethostname() - runner_regex = re.compile(r"runner-.*-project-2411-concurrent-\d+") + runner_regex = re.compile(r"runner-.*-project-2411-concurrent-?\d+") try: user = os.getlogin() except OSError: