2022-08-03 19:33:51 +00:00
|
|
|
version: v0
|
|
|
|
runs:
|
|
|
|
- name: Build
|
|
|
|
tasks:
|
|
|
|
- name: Test
|
|
|
|
runtime:
|
|
|
|
type: pod
|
|
|
|
containers:
|
|
|
|
- image: docker.io/golang:1.19-bullseye
|
2022-08-05 13:49:07 +00:00
|
|
|
environment:
|
|
|
|
DOCKER_HOST: tcp://127.0.0.1:2375
|
|
|
|
- image: europe-north1-docker.pkg.dev/b4dc0-355617/ci-images/dind:20.10
|
|
|
|
privileged: true
|
2022-08-03 19:33:51 +00:00
|
|
|
steps:
|
|
|
|
- clone:
|
2022-08-07 18:10:40 +00:00
|
|
|
- run:
|
|
|
|
name: Install Go tools
|
|
|
|
command: go install gotest.tools/gotestsum@latest
|
2022-08-03 19:33:51 +00:00
|
|
|
- run:
|
|
|
|
name: run all tests
|
2022-08-07 18:10:40 +00:00
|
|
|
command: gotestsum -f pkgname-and-test-fails -- -race -shuffle=on ./...
|