Skip to content

run tests many times #16

run tests many times

run tests many times #16

Workflow file for this run

# runs tests in a plain environment, many times
on:
push:
branches:
- main
pull_request:
name: Test
jobs:
test-nocache:
continue-on-error: true
strategy:
matrix:
go-version: [1.23.x]
os: [ubuntu-latest, macos-latest]
repeat: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: false
- run: go test ./...
test-cache:
continue-on-error: true
strategy:
matrix:
go-version: [1.23.x]
os: [ubuntu-latest, macos-latest]
repeat: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- run: go test ./...