summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Drozdov <idrozdov@gitlab.com>2022-04-06 04:14:02 +0000
committerIgor Drozdov <idrozdov@gitlab.com>2022-04-06 04:14:02 +0000
commit63c9359acd2d698f96e3ddc34775805c879e3f05 (patch)
tree085f0b0b388b88220ed4ad4c790f296066bbf47d
parent969bf2e27edf49c3998b62d64507c79909624e81 (diff)
parent740bff975b58e929781f93c5b53a36e734f8d700 (diff)
downloadgitlab-shell-63c9359acd2d698f96e3ddc34775805c879e3f05.tar.gz
Merge branch 'ci/go-1.18' into 'main'
ci: start integrating go 1.18 into the CI pipelines See merge request gitlab-org/gitlab-shell!587
-rw-r--r--.gitlab-ci.yml16
1 files changed, 6 insertions, 10 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a2f84d0..3840ec4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -55,23 +55,19 @@ default:
script:
- make verify test
-go:1.16:
+tests:
extends: .test
- image: golang:1.16
- after_script:
- - make coverage
- coverage: '/\d+.\d+%/'
-
-go:1.17:
- extends: .test
- image: golang:1.17
+ image: golang:${GO_VERSION}
+ parallel:
+ matrix:
+ - GO_VERSION: ["1.16", "1.17", "1.18"]
after_script:
- make coverage
coverage: '/\d+.\d+%/'
race:
extends: .test
- image: golang:1.17
+ image: golang:1.18
script:
- make test_golang_race