23 lines
457 B
YAML
23 lines
457 B
YAML
# Runs the whole test suite
|
|
name: alltests
|
|
on:
|
|
push:
|
|
branches:
|
|
- "release/**"
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Get GOVERSION content
|
|
id: goversion
|
|
run: echo ::set-output name=version::$(cat GOVERSION)
|
|
|
|
- uses: actions/setup-go@v1
|
|
with:
|
|
go-version: "${{ steps.goversion.outputs.version }}"
|
|
|
|
- run: go test -race -tags shaping ./...
|