diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f590649ffb0458110730622fadce859a36299749..3d3317134601c222da1d8b66f839c40709a199e9 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