Skip to content

Commit 42c7446

Browse files
arampricemkocher
authored andcommitted
Add test task to github action
1 parent 5a6987e commit 42c7446

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/go.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ permissions:
55

66
jobs:
77
lint:
8-
name: lint
98
runs-on: ubuntu-latest
109
steps:
1110
- uses: actions/checkout@v7
@@ -15,3 +14,15 @@ jobs:
1514
- uses: golangci/golangci-lint-action@v9
1615
with:
1716
working-directory: src/config-server/
17+
test:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v7
21+
- uses: actions/setup-go@v6
22+
with:
23+
go-version-file: src/config-server/go.mod
24+
- name: test
25+
run: |
26+
export SKIP_LINT=true
27+
src/config-server/bin/test-unit
28+
src/config-server/bin/test-integration memory

0 commit comments

Comments
 (0)