Files
dancefetcher/.gitlab-ci.yml
T
argoyle f4f53c4d9f ci: add code coverage reporting to CI pipeline
Update code coverage file handling in the Dockerfile to generate 
coverage reports properly. Change temporary coverage file name and 
exclude specific files from the report. Remove the temporary file 
after processing. Add steps to the CI pipeline to download and 
execute the Codecov uploader, ensuring coverage data is uploaded 
for analysis during the build stage.
2025-11-04 21:39:07 +01:00

36 lines
696 B
YAML

include:
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
- project: unboundsoftware/ci-templates
file: Defaults.gitlab-ci.yml
stages:
- build
- deploy-prod
image: buildtool/build-tools:${BUILDTOOLS_VERSION}
build:
stage: build
script:
- build
- curl -Os https://uploader.codecov.io/latest/linux/codecov
- chmod +x codecov
- ./codecov -t ${CODECOV_TOKEN} -R $CI_PROJECT_DIR -C $CI_COMMIT_SHA -r $CI_PROJECT_PATH
- push
artifacts:
paths:
- release/
- coverage.html
- k8s
deploy-prod:
stage: deploy-prod
before_script:
- echo Deploy to prod
script:
- deploy prod
only:
- master
environment:
name: prod