Skip to content

Commit

Permalink
ci: set go test timeout to 15m etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
canstand committed May 7, 2024
1 parent 397129e commit 5db6cc2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: ^1.19.9
cache: false
id: go
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v6
with:
version: latest
test:
Expand Down Expand Up @@ -60,13 +59,13 @@ jobs:
BROWSER: ${{ matrix.browser }}
GOEXPERIMENT: nocoverageredesign
if: matrix.os == 'ubuntu-latest'
run: xvfb-run go test -v -covermode atomic -coverprofile=covprofile -coverpkg="github.com/playwright-community/playwright-go" --race ./...
run: xvfb-run go test -timeout 15m -v -covermode atomic -coverprofile=covprofile -coverpkg="github.com/playwright-community/playwright-go" --race ./...
- name: Test
env:
BROWSER: ${{ matrix.browser }}
GOEXPERIMENT: nocoverageredesign
if: matrix.os != 'ubuntu-latest'
run: go test -v -covermode atomic -coverprofile=covprofile -coverpkg="github.com/playwright-community/playwright-go" --race ./...
run: go test -timeout 15m -v -covermode atomic -coverprofile=covprofile -coverpkg="github.com/playwright-community/playwright-go" --race ./...
- name: Install goveralls
run: go install github.com/mattn/goveralls@latest
- name: Send coverage
Expand Down

0 comments on commit 5db6cc2

Please sign in to comment.