Merge pull request #565 from ungerik/master #280
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.19, 1.18] | |
exclude: | |
- os: macos-latest | |
go: 1.18 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
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 |