mirror of
https://github.com/dolthub/dolt.git
synced 2026-05-03 11:30:28 -05:00
34 lines
731 B
YAML
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
|