From dca3e92962951cabf5c3f5d81195246fa36bebc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20Jir=C3=A9nius?= Date: Sun, 30 Jun 2024 15:48:05 +0200 Subject: [PATCH] GH-253: Run all tests for build and cover scripts. --- .github/workflows/build.yml | 2 +- scripts/cover.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7c4aa08..709c95a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/scripts/cover.sh b/scripts/cover.sh index c99cdfe..ad1bd82 100755 --- a/scripts/cover.sh +++ b/scripts/cover.sh @@ -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