Remove unused DebugGCS field. (#2455) #92
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Flake detector | |
on: | |
# Enable triggering the workflow manually | |
workflow_dispatch: | |
push: | |
branches: [ "master" ] | |
jobs: | |
flake-detector: | |
runs-on: ubuntu-latest | |
timeout-minutes: 75 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.23.x | |
cache: false | |
- name: Install fuse | |
run: sudo apt-get update && sudo apt-get install -y fuse3 libfuse-dev | |
- name: Build | |
run: | | |
CGO_ENABLED=0 go build ./... | |
go install ./tools/build_gcsfuse | |
build_gcsfuse . /tmp ${GITHUB_SHA} | |
- name: Download dependencies | |
run: go mod download | |
- name: Test all except caching parallely | |
run: CGO_ENABLED=0 go test -timeout 75m -count 20 -skip `cat flaky_tests.lst | go run tools/scripts/skip_tests/main.go` `go list ./... | grep -v internal/cache/...` | |
- name: Test caching | |
run: CGO_ENABLED=0 go test -p 1 -timeout 75m -count 20 -v -skip `cat flaky_tests.lst | go run tools/scripts/skip_tests/main.go` ./internal/cache/... | |
- name: Cache RaceDetector Test | |
run: CGO_ENABLED=0 go test -p 1 -timeout 75m -count 20 ./internal/cache/... |