File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,6 +23,19 @@ steps:
2323 artifact_paths :
2424 - " junit-*.xml"
2525
26+ - label : " :linux: Test Linux FIPS"
27+ key : test-lin-fips
28+ command :
29+ - " .buildkite/scripts/test.sh"
30+ env :
31+ FIPS : " true"
32+ agents :
33+ image : golang:${GO_VERSION}
34+ cpu : " 8"
35+ memory : " 4G"
36+ artifact_paths :
37+ - " junit-*.xml"
38+
2639 - label : " :windows: Test Windows"
2740 key : test-win
2841 command :
5366 depends_on :
5467 - step : " test-lin"
5568 allow_failure : true
69+ - step : " test-lin-fips"
70+ allow_failure : true
5671 - step : " test-win"
5772 allow_failure : true
5873 - step : " test-mac"
Original file line number Diff line number Diff line change @@ -9,9 +9,14 @@ go version
99add_bin_path
1010with_go_junit_report
1111
12+ tags=integration
13+ if [[ " $FIPS " == " true" ]]; then
14+ tags=" ${tags} ,requirefips"
15+ fi
16+
1217echo " --- Go Test"
1318set +e
14- go test -tags integration -race -v ./... > tests-report.txt
19+ go test -tag= ${ tags} -race -v ./... > tests-report.txt
1520exit_code=$?
1621set -e
1722
You can’t perform that action at this time.
0 commit comments