Skip to content

Commit

Permalink
chore: scope test bench (#2495)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspoignant committed Oct 11, 2024
1 parent 70f6de1 commit b8405e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ coverage: ## Run the tests of the project and export the coverage
&& cat coverage.cov.tmp | grep -v "/examples/" > coverage.cov

bench: ## Launch the benchmark test
$(GOTEST) -bench Benchmark -cpu 2 -run=^$$
$(GOTEST) -tags=bench -bench Benchmark -cpu 2 -run=^$$

## Lint:
lint: ## Use golintci-lint on your project
Expand Down
3 changes: 3 additions & 0 deletions feature_flag_bench_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build bench
// +build bench

package ffclient_test

import (
Expand Down

0 comments on commit b8405e1

Please sign in to comment.