refactor(test): update test commands to include all packages recursively

This commit is contained in:
Yar Kravtsov
2025-05-24 11:39:20 +03:00
parent ec6ad6b0d0
commit 7007ec64f2
3 changed files with 5 additions and 5 deletions

View File

@@ -38,7 +38,7 @@ jobs:
run: go vet ./...
- name: Test
run: go test -v -race -coverprofile=coverage.out ./
run: go test -v -race -coverprofile=coverage.out ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3

View File

@@ -23,7 +23,7 @@ jobs:
go-version: '1.24'
- name: Run tests
run: go test ./
run: go test ./...
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6

View File

@@ -60,18 +60,18 @@ build:
## test: Run tests
test:
@echo "$(BLUE)Running tests...$(NC)"
@go test ./
@go test ./...
@echo "$(GREEN)✓ Tests passed$(NC)"
## test-v: Run tests with verbose output
test-v:
@echo "$(BLUE)Running tests (verbose)...$(NC)"
@go test -v ./
@go test -v ./...
## test-cover: Run tests with coverage
test-cover:
@echo "$(BLUE)Running tests with coverage...$(NC)"
@go test -v -cover ./
@go test -v -cover ./...
@go test -coverprofile=coverage.out ./
@go tool cover -html=coverage.out -o coverage.html
@echo "$(GREEN)✓ Coverage report generated: coverage.html$(NC)"