From f5bd631d0c26aa017e57a05d0638390b7b6d3abf Mon Sep 17 00:00:00 2001 From: Aleksa Sarai Date: Fri, 6 Dec 2024 16:08:51 +1100 Subject: [PATCH] gha: bump go test timeout to 30m Signed-off-by: Aleksa Sarai --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 88c2c94..34645be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -71,9 +71,9 @@ jobs: GOCOVERDIR="$(mktemp --tmpdir -d gocoverdir.XXXXXXXX)" echo "GOCOVERDIR=$GOCOVERDIR" >>"$GITHUB_ENV" - name: go test - run: go test -v -cover -test.gocoverdir="$GOCOVERDIR" ./... + run: go test -v -cover -timeout=30m -test.gocoverdir="$GOCOVERDIR" ./... - name: sudo go test - run: sudo go test -v -cover -test.gocoverdir="$GOCOVERDIR" ./... + run: sudo go test -v -cover -timeout=30m -test.gocoverdir="$GOCOVERDIR" ./... - name: upload coverage uses: actions/upload-artifact@v4 with: