From bfc292bba2039535a67df49f4bc494d0f8c05e6b Mon Sep 17 00:00:00 2001 From: Benedikt <benedikt.seeger@ptb.de> Date: Mon, 28 Oct 2024 10:07:16 +0000 Subject: [PATCH] Update .gitlab-ci.yml file removed unnecessary pushing of coverage artifacts since it's not usefull and doesn't work --- .gitlab-ci.yml | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f590649..3d33171 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -53,28 +53,3 @@ test:python_3.11: test:python_3.12: extends: .test_template image: python:3.12 - -commit_and_push_coverage: - stage: deploy - image: alpine:latest # Switch to a full Alpine image - before_script: - - apk update && apk add git bash # Ensure git and bash are installed - script: - - git config --global user.email "gitlab@runner" - - git config --global user.name "Git Lab Runner" - - git fetch --all - - git checkout -b "$CI_COMMIT_REF_NAME" || git checkout "$CI_COMMIT_REF_NAME" - - rm -rf * # Clear the branch (optional: handle with care) - - cp -r cov_html/* . || echo "No coverage files to copy" # Handle missing files gracefully - - git add . - - git commit -m "Update coverage report" || echo "No changes to commit" - - git push --set-upstream origin "$CI_COMMIT_REF_NAME" - dependencies: - - test:python_3.7 - - test:python_3.8 - - test:python_3.9 - - test:python_3.10 - - test:python_3.11 - - test:python_3.12 - only: - - branches -- GitLab