summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorfeistel <6742251-feistel@users.noreply.gitlab.com>2022-04-01 14:14:05 +0200
committerfeistel <6742251-feistel@users.noreply.gitlab.com>2022-04-01 14:14:05 +0200
commit740bff975b58e929781f93c5b53a36e734f8d700 (patch)
tree085f0b0b388b88220ed4ad4c790f296066bbf47d /.gitlab-ci.yml
parent969bf2e27edf49c3998b62d64507c79909624e81 (diff)
downloadgitlab-shell-740bff975b58e929781f93c5b53a36e734f8d700.tar.gz
ci: start integrating go 1.18 into the CI pipelines
Diffstat (limited to '.gitlab-ci.yml')
-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