Skip to content

Instantly share code, notes, and snippets.

@masih
Created November 26, 2024 09:38
Show Gist options
  • Save masih/993149988f1cd3c2cb13ee46e86d8a5c to your computer and use it in GitHub Desktop.
Save masih/993149988f1cd3c2cb13ee46e86d8a5c to your computer and use it in GitHub Desktop.
Repeat Lotus itest on CI to detect flakiness
name: Repeat Lotus Flaky iTest
on:
pull_request:
jobs:
test:
name: ${{ matrix.test }} ${{ matrix.go }}
runs-on: ubuntu-latest
# needs: cache-test-bins
strategy:
fail-fast: true
matrix:
go:
- 1.22
test:
- TestFlakyGoesHere
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- uses: ./.github/actions/install-system-dependencies
- uses: ./.github/actions/install-go
- uses: ./.github/actions/make-deps
- name: Repeat ${{ matrix.test }}
run: go test -timeout 30m -count 50 -v --run='^${{ matrix.test }}' --failfast ./itests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment