mirror of
https://github.com/hamburghammer/grcon.git
synced 2024-12-23 05:27:42 +01:00
Augusto Dwenger J
1cda9ca591
Initially it was the idea that this would be version 2 of the https://github.com/hamburghammer/rcon lib but I changed my mind and decided to make a new Project out of it. It has formally nothing to do with the original lib.
27 lines
424 B
YAML
27 lines
424 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: tests
|
|
|
|
steps:
|
|
- name: unit
|
|
image: golang
|
|
volumes:
|
|
- name: cache
|
|
path: /go
|
|
commands:
|
|
- go mod download
|
|
- go test -coverprofile=coverage.out -covermode=count ./...
|
|
- go tool cover -func=coverage.out | grep total
|
|
|
|
- name: race
|
|
image: golang
|
|
volumes:
|
|
- name: cache
|
|
path: /go
|
|
commands:
|
|
- go mod download
|
|
- go test -race ./...
|
|
|
|
volumes:
|
|
- name: cache
|
|
temp: {}
|