Skip to content

Commit 2e81d30

Browse files
authored
Update go test pipeline to build and test all libraries (#220)
There were few libraries CI missing. So, added them.
1 parent b8c31ec commit 2e81d30

File tree

1 file changed

+26
-3
lines changed

1 file changed

+26
-3
lines changed

.github/workflows/go-sql-tests.yaml

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,35 @@ jobs:
2121
with:
2222
go-version: 1.19
2323

24-
- name: Build
24+
- name: Build core
25+
run: go build -v ./...
26+
working-directory: ./go/core
27+
28+
- name: Test core
29+
run: go test -v ./...
30+
working-directory: ./go/core
31+
32+
- name: Build net/http
33+
run: go build -v ./...
34+
working-directory: ./go/net/http
35+
36+
- name: Test net/http
37+
run: go test -v ./...
38+
working-directory: ./go/net/http
39+
40+
- name: Build gorilla/mux
41+
run: go build -v ./...
42+
working-directory: ./go/gorrila/mux
43+
44+
- name: Test gorilla/mux
45+
run: go test -v ./...
46+
working-directory: ./go/gorrila/mux
47+
48+
- name: Build database/sql
2549
run: go build -v ./...
2650
working-directory: ./go/database/sql
2751

28-
- name: Test go-sql
52+
- name: Test database/sql
2953
run: go test -v ./...
3054
working-directory: ./go/database/sql
3155

@@ -42,4 +66,3 @@ jobs:
4266
# Verify go fmt standards are used
4367
- name: Format
4468
run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi
45-

0 commit comments

Comments
 (0)