Skip to content

Commit

Permalink
Only run goveralls on amd64 test job (#47)
Browse files Browse the repository at this point in the history
Only run goveralls on amd64 test job
  • Loading branch information
JohnStarich authored Jun 23, 2024
1 parent d4d7720 commit 5969ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ test: test-deps
fi
{ echo 'mode: atomic'; cat *-cover.out | grep -v '^mode:'; } > cover.out && rm *-cover.out
go tool cover -func cover.out | grep total:
@if [[ "$$CI" == true && $$(uname -s) == Linux && "$$(go version)" == *go"$$COVERAGE_VERSION"* ]]; then \
@if [[ "$$CI" == true && $$(uname -sm) == 'Linux x86_64' && "$$(go version)" == *go"$$COVERAGE_VERSION"* ]]; then \
set -ex; \
goveralls -coverprofile=cover.out -service=github || true; \
fi

0 comments on commit 5969ae1

Please sign in to comment.