blob: 2cfe063f36793b770bee6f25a3bb58d12082cc8c [file] [log] [blame] [edit]
name: CI
on:
push:
branches: [master]
pull_request:
jobs:
run-tests:
name: Run test cases
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
go: [1.17, 1.16]
exclude:
- os: macos-latest
go: 1.16
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Run tests
run: |
make integration
make integration_w_race
- name: Run tests on 32-bit arch
if: startsWith(matrix.os, 'ubuntu-')
run: |
make integration
env:
GOARCH: 386