mirror of
https://gitee.com/rulego/streamsql.git
synced 2026-03-15 06:47:26 +00:00
build(ci):upate timeout
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user