From: Matt Joiner Date: Tue, 27 Feb 2024 06:47:11 +0000 (+1100) Subject: Add timeout to Go CI test X-Git-Tag: v1.55.0~6 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=8a43f7b54a9bffb060d11e70deb70666474cfc2f;p=btrtrc.git Add timeout to Go CI test --- diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 67e68636..ff6f1ec7 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -53,7 +53,7 @@ jobs: steps: - uses: actions/checkout@v2 - uses: ./.github/actions/go-common - - run: GOARCH=386 go test $(go list ./... | grep -v /possum) + - run: GOARCH=386 go test -timeout 1m $(go list ./... | grep -v /possum) continue-on-error: true - run: GOARCH=386 go test -run @ -bench . $(go list ./... | grep -v /possum)