Files
dolt/.github/workflows/ci-go-tests.yaml
T
2021-02-10 11:06:27 -08:00

34 lines
731 B
YAML

name: Test Go
on:
pull_request:
branches: [ master ]
paths:
- 'go/**'
jobs:
test:
name: Go tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-10.15, ubuntu-18.04, windows-latest]
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.13
id: go
- uses: actions/checkout@v2
- name: Test All
working-directory: ./go
run: go test -timeout 30m -race ./...
- name: Discord Notify
if: always()
uses: dolthub/ga-discord-notify@master
with:
job-status: ${{ job.status }}
webhook-url: ${{ secrets.DISCORD_WEBHOOK }}
notify-on-success: false