diff --git a/.github/workflows/many.yml b/.github/workflows/many.yml new file mode 100644 index 000000000000..21f8a3cb2e7f --- /dev/null +++ b/.github/workflows/many.yml @@ -0,0 +1,38 @@ +# 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, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20] + 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, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: ${{ matrix.go-version }} + - run: go test ./... \ No newline at end of file