gapr/.concourse/tasks/test.yml
Peter Kurfer e9e41fb245
All checks were successful
concourse-ci/lint/golangci-lint Lint Go files
continuous-integration/drone/push Build is passing
concourse-ci/test/gotestsum Run unit tests
continuous-integration/drone Build is passing
feat: add drone pipeline
2023-02-18 11:28:50 +01:00

28 lines
465 B
YAML

---
platform: linux
image_resource:
type: registry-image
source:
repository: docker.io/golang
tag: 1.20-buster
inputs:
- name: repo
path: .
params:
GO111MODULE: "on"
CGO_ENABLED: "1"
GOMEMLIMIT: "1150MiB"
GITEA_TOKEN: ((gitea-credentials.token))
container_limits:
memory: 1258291200 # 1200MB
run:
path: bash
args:
- -ce
- |
go run gotest.tools/gotestsum@latest -f pkgname-and-test-fails -- -race -shuffle=on ./...