Skip to content

Commit

Permalink
test: adjust test command
Browse files Browse the repository at this point in the history
  • Loading branch information
kimdre committed Aug 4, 2024
1 parent a2dc570 commit 5eb1714
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
go-version-file: 'go.mod'
cache: true
- run: go mod download
- run: go test -v -cover -p 1 ./internal/...
- run: go test -v -cover ./... -timeout 5m
timeout-minutes: 5
env:
WEBHOOK_SECRET: test_Secret1
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ BINARY_NAME=docker-compose-webhook

test:
@echo "Running tests..."
@WEBHOOK_SECRET="test_Secret1" go test -p 1 -v ./... -timeout 5m
@WEBHOOK_SECRET="test_Secret1" go test -v -cover -p 1 ./... -timeout 5m

build:
mkdir -p $(BINARY_DIR)
Expand Down

0 comments on commit 5eb1714

Please sign in to comment.