mirror of
https://github.com/johnkerl/miller.git
synced 2026-01-23 02:14:13 +00:00
* incorporate reg-test into "go test" framework * reg-test -> regtest everywhere * update .github/workflows/go.yml
32 lines
719 B
YAML
32 lines
719 B
YAML
name: Go
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.16
|
|
|
|
- name: Build
|
|
run: cd go && go build -v mlr.go
|
|
|
|
- name: Test
|
|
# In the event of needing to debug failures you can modify `./mlr regtest` verbosity
|
|
# using `-v`, `-vv`, or `-vvv`. Commit changes to this file and re-push to GitHub
|
|
# and let the GitHub Actions re-run.
|
|
run: cd go && go test -v miller/src/... && ./mlr regtest -s 5
|