From 54c53cf6cacce7a40cbaa93fb8472a66095de6e5 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Sat, 9 Mar 2024 14:31:25 +0300 Subject: [PATCH] workflows: give tests more time We have more and more timeouts happening for test runs, so 10m is not enough for busy GH machines sometime. I think we can just give them a bit more time. Refs. #2379 though. Signed-off-by: Roman Khimov --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c9fb23585..04438ca65 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -104,7 +104,7 @@ jobs: cache: true - name: Write coverage profile - run: go test -v ./... -coverprofile=./coverage.txt -covermode=atomic -coverpkg=./pkg...,./cli/... + run: go test -timeout 15m -v ./... -coverprofile=./coverage.txt -covermode=atomic -coverpkg=./pkg...,./cli/... - name: Upload coverage results to Codecov uses: codecov/codecov-action@v3 @@ -150,4 +150,4 @@ jobs: go-version: '${{ matrix.go_versions }}' - name: Run tests - run: go test -v -race ./... + run: go test -timeout 15m -v -race ./...