Skip to content
Snippets Groups Projects
Unverified Commit 0df50956 authored by Sylvain Desbureaux's avatar Sylvain Desbureaux
Browse files

fix: check emptyness of GO_TEST_IMAGE


with component based new template, `GO_TEST_IMAGE` can't be null but can
be empty.

So instead of checkig if it's, let's check it's empty

closes #34

Signed-off-by: default avatarSylvain Desbureaux <sylvain.desbureaux@orange.com>
parent e5957b0e
No related branches found
No related tags found
No related merge requests found
...@@ -512,7 +512,7 @@ go-test: ...@@ -512,7 +512,7 @@ go-test:
- "$GO_PROJECT_DIR/reports/go-coverage.*" - "$GO_PROJECT_DIR/reports/go-coverage.*"
rules: rules:
# if $GO_TEST_IMAGE set # if $GO_TEST_IMAGE set
- if: '$GO_TEST_IMAGE == null' - if: '$GO_TEST_IMAGE == ""'
when: never when: never
- !reference [.test-policy, rules] - !reference [.test-policy, rules]
...@@ -540,7 +540,7 @@ go-build-test: ...@@ -540,7 +540,7 @@ go-build-test:
- "$GO_PROJECT_DIR/reports/go-coverage.*" - "$GO_PROJECT_DIR/reports/go-coverage.*"
rules: rules:
# if $GO_TEST_IMAGE not set # if $GO_TEST_IMAGE not set
- if: '$GO_TEST_IMAGE == null' - if: '$GO_TEST_IMAGE == ""'
go-ci-lint: go-ci-lint:
extends: .go-base extends: .go-base
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment