Skip to content

Commit 5da0786

Browse files
committed
skip examples for unit test
1 parent 519acd1 commit 5da0786

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/test-linux.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
- run: go generate
2525

26-
- run: go run ./lib/utils/ci-test -race -coverprofile=coverage.out . ./lib/utils ./lib/proto ./lib/cdp ./lib/defaults ./lib/devices ./lib/launcher ./lib/input
26+
- run: go run ./lib/utils/ci-test -race -coverprofile=coverage.out -run=^Test . ./lib/utils ./lib/proto ./lib/cdp ./lib/defaults ./lib/devices ./lib/launcher ./lib/input
2727

2828
- run: go run github.com/ysmood/got/cmd/check-cov@latest
2929

.github/workflows/test-other-platforms.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
- uses: actions/checkout@v4
2020

21-
- run: go run ./lib/utils/ci-test -timeout-each=2m
21+
- run: go run ./lib/utils/ci-test -timeout-each=2m -run=^Test
2222

2323
- uses: actions/upload-artifact@v4
2424
if: ${{ always() }}
@@ -36,7 +36,7 @@ jobs:
3636

3737
- uses: actions/checkout@v4
3838

39-
- run: go run ./lib/utils/ci-test -timeout-each=2m
39+
- run: go run ./lib/utils/ci-test -timeout-each=2m -run=^Test
4040

4141
- uses: actions/upload-artifact@v4
4242
if: ${{ always() }}

0 commit comments

Comments
 (0)