Skip to content

Commit

Permalink
fix: remove benchmarks from ci (#1032)
Browse files Browse the repository at this point in the history
  • Loading branch information
almostinf authored Jun 21, 2024
1 parent fbd7e35 commit fb93d68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
cache-dependency-path: go.sum

- name: Run tests
run: make test
run: make ci-test

- name: Upload coverage to Codecov
run: bash <(curl -s https://codecov.io/bash)
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ validate-spec:
test:
echo 'mode: atomic' > coverage.txt && go list ./... | xargs -n1 -I{} sh -c 'go test -race -v -bench=. -covermode=atomic -coverprofile=coverage.tmp {} && tail -n +2 coverage.tmp >> coverage.txt' && rm coverage.tmp

.PHONY: ci-test
ci-test:
echo 'mode: atomic' > coverage.txt && go list ./... | xargs -n1 -I{} sh -c 'go test -race -v -covermode=atomic -coverprofile=coverage.tmp {} && tail -n +2 coverage.tmp >> coverage.txt' && rm coverage.tmp

.PHONY: build
build:
for service in "filter" $(SERVICES) ; do \
Expand Down

0 comments on commit fb93d68

Please sign in to comment.