ci(GODT-2287): add test coverage on devel

This commit is contained in:
Jakub 2023-02-06 10:50:47 +01:00
parent a74d1ce9ca
commit 8894a982f2
1 changed files with 12 additions and 2 deletions

View File

@ -32,7 +32,7 @@ stages:
.rules-branch-and-MR-always:
rules:
- if: $CI_COMMIT_BRANCH || $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_COMMIT_BRANCH || $CI_PIPELINE_SOURCE == "merge_request_event"
when: always
allow_failure: false
- when: never
@ -54,6 +54,16 @@ stages:
allow_failure: true
- when: never
.rules-branch-manual-MR-and-devel-always:
rules:
- if: $CI_COMMIT_BRANCH == "devel" || $CI_PIPELINE_SOURCE == "merge_request_event"
when: always
allow_failure: false
- if: $CI_COMMIT_BRANCH
when: manual
allow_failure: true
- when: never
.after-script-code-coverage:
after_script:
- go get github.com/boumenot/gocover-cobertura
@ -80,7 +90,7 @@ lint:
test-linux:
stage: test
extends:
- .rules-branch-manual-MR-always
- .rules-branch-manual-MR-and-devel-always
- .after-script-code-coverage
script:
- make test