Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 1aeb657e authored by Raphael JOIE's avatar Raphael JOIE
Browse files

try fix test started after manual build

parent 925f9f96
No related branches found
No related tags found
1 merge request!4Resolve "test-merge-request-event-type"
Pipeline #132235 waiting for manual action
......@@ -26,7 +26,7 @@ workflow:
# Don't run on first init commit of a branch
- if: $CI_COMMIT_BRANCH && $CI_COMMIT_BEFORE_SHA == "0000000000000000000000000000000000000000"
when: never
- if: $CI_COMMIT_BRANCH || $CI_COMMIT_TAG
- if: $CI_COMMIT_BRANCH
debug:
stage: debug
......@@ -49,23 +49,13 @@ test-static-style-force-job:
- docker
- lab
variables:
SRC_PATH: api/src
rules:
# Don't run if only the tag was pushed
- if: $CI_COMMIT_TAG && $CI_COMMIT_BRANCH == null
when: never
- when: always
SRC_PATH: src/
test-static-style-check-job:
stage: test-static-style
tags:
- docker
- lab
rules:
# Don't run if only the tag was pushed
- if: $CI_COMMIT_TAG && $CI_COMMIT_BRANCH == null
when: never
- when: always
test-static-build-job:
stage: test-static-build
......@@ -75,11 +65,9 @@ test-static-build-job:
variables:
IMAGE_TAG: $CI_REGISTRY/$CI_PROJECT_PATH/api:test-$CI_COMMIT_SHORT_SHA
rules:
# Don't run if only the tag was pushed
- if: $CI_COMMIT_TAG && $CI_COMMIT_BRANCH == null
when: never
- if: $CI_COMMIT_MESSAGE =~ /\#test/ || ($NMS_CI_PIPELINE_TEST == "always" && $CI_COMMIT_MESSAGE !~ /\#wip/)
- when: manual
allow_failure: false
script:
- echo "test-static-build"
- echo $IMAGE_TAG
......@@ -95,9 +83,6 @@ test-unit-job:
- lab
image: code.europa.eu:4567/digit-c4/dev/python-best-practices/python-poetry:3.11-alpine
rules:
# Don't run if only the tag was pushed
- if: $CI_COMMIT_TAG && $CI_COMMIT_BRANCH == null
when: never
- when: always
script:
- echo "test-unit-job"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment