]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Add timeout to Go CI test
authorMatt Joiner <anacrolix@gmail.com>
Tue, 27 Feb 2024 06:47:11 +0000 (17:47 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Tue, 27 Feb 2024 06:47:11 +0000 (17:47 +1100)
.github/workflows/go.yml

index 67e68636e97a513f8d71344ad811028fd571584b..ff6f1ec76d1554f38061e3c2b8cc0e3d35e2458a 100644 (file)
@@ -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)