Skip to content

Commit

Permalink
improved testing command
Browse files Browse the repository at this point in the history
  • Loading branch information
Kansuler committed Dec 22, 2023
1 parent 2074284 commit 68240aa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,8 @@ services:
source: ./
target: /workspace
working_dir: /workspace
command: ["go", "test", "-count=1", "-v", "./driver/..."]
command: >
bash -c "
go install gotest.tools/gotestsum@latest &&
gotestsum -- -coverprofile=coverage.txt -timeout=10s -v -count=1 -coverpkg=./... -covermode=atomic ./driver/...
"

0 comments on commit 68240aa

Please sign in to comment.