Skip to content

Commit bf4cef6

Browse files
authored
fix: excluded unnecessary test dependencies from upstream (#121)
1 parent 3b1bf69 commit bf4cef6

File tree

8 files changed

+489
-494
lines changed

8 files changed

+489
-494
lines changed

.github/workflows/dcp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ jobs:
3333
run: go get .
3434

3535
- name: Test DCP
36-
run: go test -run "^\QTestDcp\E$"
36+
run: cd test/integration && go test -run "^\QTestDcp\E$"
3737
env:
3838
CB_VERSION: ${{ matrix.version }}

.github/workflows/test.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
types: [ opened, reopened, synchronize ]
9+
workflow_dispatch:
10+
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
13+
cancel-in-progress: true
14+
15+
jobs:
16+
unit-tests:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
with:
22+
fetch-depth: 1
23+
24+
- name: Set up Go
25+
uses: actions/setup-go@v4
26+
with:
27+
go-version: '1.20'
28+
29+
- name: Unit Test
30+
run: go test -v ./...
31+
env:
32+
INPUT_PUBLISH: false
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)