Skip to content

Commit

Permalink
Merge pull request #172 from nerdalert/run-tests-in-build
Browse files Browse the repository at this point in the history
Run unit tests in build
  • Loading branch information
russellb authored Apr 7, 2024
2 parents 79642a1 + 4ace94b commit 3ba8832
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ jobs:
with:
go-version: "1.21"
cache: false
- name: Unit Tests
run: |
go test -v -coverprofile=profile.cov ./...
working-directory: ./worker
- id: build
run: |
go build -o "worker_$(go env GOOS)_${GOARCH}" main.go
Expand Down

0 comments on commit 3ba8832

Please sign in to comment.