Skip to content

CI parallel tests

CI parallel tests #56

Workflow file for this run

name: Build
on:
push:
tags: [ 'v[0-9]+.[0-9]+-tetrate-v[0-9]+' ] # v1.16-tetrate-v7
pull_request:
branches:
- main
- release-**
env:
GOPROXY: https://proxy.golang.org
jobs:
# All test running sequentially take around ~2h.
# Sppliting them in groups that take more or less the same time makes PR's readiness faster
test:
strategy:
matrix:
label:
- "group:1"
- "group:2"
- "group:3"
- "group:4"
- "group:5"
runs-on: ubuntu-latest
env:
PLATFORMS: linux/amd64
TEST_LABEL: ${{ matrix.label }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: make test