As we reevaluate how to best support and maintain Staging Ref in the future, we encourage development teams using this environment to highlight their use cases in the following issue: https://gitlab.com/gitlab-com/gl-infra/software-delivery/framework/software-delivery-framework-issue-tracker/-/issues/36.

Skip to content
Snippets Groups Projects
Unverified Commit 5f6df4a7 authored by Ash McKenzie's avatar Ash McKenzie
Browse files

New .go-matrix-job job for golang matrix testing

parent 90c2c195
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -66,6 +66,11 @@ default:
paths:
- ${BUNDLE_PATH}
.go-matrix-job:
parallel:
matrix:
- GO_VERSION: ["golang-1.18", "golang-1.19", "golang-1.20"]
################################################################################
# Prepare jobs
################################################################################
Loading
Loading
@@ -78,10 +83,9 @@ bundle:install:
modules:download:
stage: prepare
extends: .cached-job
parallel:
matrix:
- GO_VERSION: ["golang-1.18", "golang-1.19", "golang-1.20"]
extends:
- .cached-job
- .go-matrix-job
script:
- go mod download
Loading
Loading
@@ -109,10 +113,8 @@ modules:download:
tests:
extends:
- .cached-job
- .go-matrix-job
- .test-job
parallel:
matrix:
- GO_VERSION: ["golang-1.18", "golang-1.19", "golang-1.20"]
script:
- make verify test
after_script:
Loading
Loading
@@ -122,10 +124,8 @@ tests:
race:
extends:
- .cached-job
- .go-matrix-job
- .test-job
parallel:
matrix:
- GO_VERSION: ["golang-1.18", "golang-1.19", "golang-1.20"]
script:
- make test_golang_race
Loading
Loading
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