Skip to content

better testing

better testing #251

Workflow file for this run

name: ci
on:
push:
branches: [ main ]
workflow_dispatch:
pull_request:
types: [ opened, synchronize, reopened ]
jobs:
cibuild:
name: cibuild
runs-on: ubuntu-20.04
defaults:
run:
shell: bash
steps:
- uses: actions/[email protected]
- run: script/bootstrap
- run: script/generate --check
- run: script/lint
test:
name: test
strategy:
fail-fast: false
matrix:
os:
- ubuntu-20.04
- ubuntu-22.04
- windows-2019
- windows-2022
- macos-11
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
steps:
- run: env
- run: go env
- uses: actions/[email protected]
- run: script/bootstrap
- run: script/test
- run: script/test -long