18 lines
384 B
YAML
18 lines
384 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: pipeline
|
|
|
|
steps:
|
|
- name: simple tests
|
|
image: golang:1.22.7
|
|
commands:
|
|
- go test ./...
|
|
- name: race tests
|
|
image: golang:1.22.7
|
|
commands:
|
|
- go test -race -count 100 -timeout 30s ./...
|
|
- name: benchmark
|
|
image: golang:1.22.7
|
|
commands:
|
|
- go test -benchtime=10x -benchmem -bench=Benchmark ./... | grep allocs
|