From b3ea1fb4fa4d5a5e3fe05bc2848c804c3c97b9f8 Mon Sep 17 00:00:00 2001 From: rulego-team Date: Sat, 14 Jun 2025 21:39:35 +0800 Subject: [PATCH] build(ci):upate timeout --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a127b60..a682855 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [ main, master, develop ] + branches: [ main, master, dev ] pull_request: - branches: [ main, master, develop ] + branches: [ main, master, dev ] jobs: test: @@ -41,11 +41,11 @@ jobs: run: go build -v ./... - name: Run tests - run: go test -v -race -timeout 30s ./... + run: go test -v -race -timeout 300s ./... - name: Run tests with coverage if: matrix.go-version == '1.21' - run: go test -v -race -coverprofile=coverage.out -covermode=atomic -timeout 30s ./... + run: go test -v -race -coverprofile=coverage.out -covermode=atomic -timeout 300s ./... - name: Upload coverage to Codecov if: matrix.go-version == '1.21'