| 1 |
name: Go |
| 2 |
|
| 3 |
on: |
| 4 |
push: |
| 5 |
branches: [ main ] |
| 6 |
pull_request: |
| 7 |
branches: [ main ] |
| 8 |
|
| 9 |
jobs: |
| 10 |
|
| 11 |
test: |
| 12 |
runs-on: ubuntu-latest |
| 13 |
steps: |
| 14 |
- uses: actions/checkout@v3 |
| 15 |
|
| 16 |
- name: Set up Go latest |
| 17 |
uses: actions/setup-go@v3 |
| 18 |
with: |
| 19 |
go-version: ^1.22 |
| 20 |
|
| 21 |
- name: Short test |
| 22 |
run: go test -short -v ./... |
| 23 |
|
| 24 |
- name: Randomized test suite 1 |
| 25 |
run: go test -v ./... -run RandomizeFast -count=512 |
| 26 |
|
| 27 |
- name: Randomized test suite 2 |
| 28 |
run: go test -v ./... -run RandomizeSlow -count=32 |