Skip to content

Commit

Permalink
GH-253: Run all tests for build and cover scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
jirenius committed Jun 30, 2024
1 parent 8f8061e commit dca3e92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Build
run: go build -v ./...
- name: Test
run: go test -v -covermode=atomic -coverprofile=cover.out -coverpkg=./server/... ./test
run: go test -v -covermode=atomic -coverprofile=cover.out -coverpkg=./server/... ./...
- name: Install goveralls
run: go install github.com/mattn/goveralls@latest
- name: Send coverage
Expand Down
2 changes: 1 addition & 1 deletion scripts/cover.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash -e
# Run from directory above via ./scripts/cover.sh

go test -v -covermode=atomic -coverprofile=./cover.out -coverpkg=./server/... ./test
go test -v -covermode=atomic -coverprofile=./cover.out -coverpkg=./server/... ./...
go tool cover -html=cover.out

0 comments on commit dca3e92

Please sign in to comment.