Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update go test pipeline to build and test all libraries #220

Merged
merged 1 commit into from
Dec 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 26 additions & 3 deletions .github/workflows/go-sql-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,35 @@ jobs:
with:
go-version: 1.19

- name: Build
- name: Build core
run: go build -v ./...
working-directory: ./go/core

- name: Test core
run: go test -v ./...
working-directory: ./go/core

- name: Build net/http
run: go build -v ./...
working-directory: ./go/net/http

- name: Test net/http
run: go test -v ./...
working-directory: ./go/net/http

- name: Build gorilla/mux
run: go build -v ./...
working-directory: ./go/gorrila/mux

- name: Test gorilla/mux
run: go test -v ./...
working-directory: ./go/gorrila/mux

- name: Build database/sql
run: go build -v ./...
working-directory: ./go/database/sql

- name: Test go-sql
- name: Test database/sql
run: go test -v ./...
working-directory: ./go/database/sql

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