Skip to content

Commit

Permalink
setup a fips-specific make target
Browse files Browse the repository at this point in the history
We currently need to disable `-race`, but will later need to add build
flags
  • Loading branch information
dmathieu committed Feb 27, 2025
1 parent 330a8e9 commit c53b841
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
GOFIPS140: "latest"
GODEBUG: "fips140=only"
# TODO remove tags once cockroachdb/swiss works on 1.24+
run: make test
run: make testfips

check-update-modules:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ docker-test:
test:
@for dir in $(shell scripts/moduledirs.sh); do (cd $$dir && go test -race -v -timeout=$(TEST_TIMEOUT) ./...) || exit $$?; done

.PHONY: testnorace
testfips:
@for dir in $(shell scripts/moduledirs.sh); do (cd $$dir && go test -v -timeout=$(TEST_TIMEOUT) ./...) || exit $$?; done

.PHONY: coverage
coverage:
@bash scripts/test_coverage.sh
Expand Down

0 comments on commit c53b841

Please sign in to comment.