Skip to content
Snippets Groups Projects
Commit bfc292bb authored by Benedikt's avatar Benedikt
Browse files

Update .gitlab-ci.yml file removed unnecessary pushing of coverage artifacts...

Update .gitlab-ci.yml file removed unnecessary pushing of coverage artifacts since it's not usefull and doesn't work  
parent 03d8e4ff
No related branches found
No related tags found
No related merge requests found
Pipeline #45897 passed
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment