From 1f92e82530e5baeb4db105d48cc2461765f9c56f Mon Sep 17 00:00:00 2001 From: gkampitakis Date: Sun, 21 Jan 2024 19:52:19 +0000 Subject: [PATCH] chore: add count=10 and shuffle on tests --- .github/workflows/go.yml | 2 +- Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 3a29459..44f6f2c 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -48,4 +48,4 @@ jobs: with: go-version: 1.21.x - name: Run Tests - run: make test-verbose + run: make test diff --git a/Makefile b/Makefile index cffdb7c..7adb3f2 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ format: ## Format code golines . -w test: ## Run tests - go test -race -count=1 -cover ./... + go test -race -count=10 -shuffle on -cover ./... test-verbose: ## Run tests with verbose output - go test -race -count=1 -v -cover ./... + go test -race -count=10 -shuffle on -v -cover ./...