mirror of https://github.com/status-im/consul.git
Switch to github-actions format (#19667)
This commit is contained in:
parent
f027d61014
commit
2f9bc5b0c3
|
@ -46,7 +46,7 @@ on:
|
||||||
required: true
|
required: true
|
||||||
env:
|
env:
|
||||||
TEST_RESULTS: /tmp/test-results
|
TEST_RESULTS: /tmp/test-results
|
||||||
GOTESTSUM_VERSION: "1.10.1"
|
GOTESTSUM_VERSION: "1.11.0"
|
||||||
GOARCH: ${{inputs.go-arch}}
|
GOARCH: ${{inputs.go-arch}}
|
||||||
TOTAL_RUNNERS: ${{inputs.runner-count}}
|
TOTAL_RUNNERS: ${{inputs.runner-count}}
|
||||||
CONSUL_LICENSE: ${{secrets.consul-license}}
|
CONSUL_LICENSE: ${{secrets.consul-license}}
|
||||||
|
@ -119,11 +119,10 @@ jobs:
|
||||||
umask 0022
|
umask 0022
|
||||||
|
|
||||||
go run gotest.tools/gotestsum@v${{env.GOTESTSUM_VERSION}} \
|
go run gotest.tools/gotestsum@v${{env.GOTESTSUM_VERSION}} \
|
||||||
--format=short-verbose \
|
--format=github-actions \
|
||||||
|
--format-hide-empty-pkg \
|
||||||
--jsonfile /tmp/jsonfile/go-test.log \
|
--jsonfile /tmp/jsonfile/go-test.log \
|
||||||
--debug \
|
--rerun-fails \
|
||||||
--rerun-fails=3 \
|
|
||||||
--rerun-fails-max-failures=40 \
|
|
||||||
--rerun-fails-report=/tmp/gotestsum-rerun-fails \
|
--rerun-fails-report=/tmp/gotestsum-rerun-fails \
|
||||||
--packages="$PACKAGE_NAMES" \
|
--packages="$PACKAGE_NAMES" \
|
||||||
--junitfile ${{env.TEST_RESULTS}}/gotestsum-report.xml -- \
|
--junitfile ${{env.TEST_RESULTS}}/gotestsum-report.xml -- \
|
||||||
|
|
|
@ -46,7 +46,7 @@ on:
|
||||||
required: true
|
required: true
|
||||||
env:
|
env:
|
||||||
TEST_RESULTS: /tmp/test-results
|
TEST_RESULTS: /tmp/test-results
|
||||||
GOTESTSUM_VERSION: "1.10.1"
|
GOTESTSUM_VERSION: "1.11.0"
|
||||||
GOARCH: ${{inputs.go-arch}}
|
GOARCH: ${{inputs.go-arch}}
|
||||||
CONSUL_LICENSE: ${{secrets.consul-license}}
|
CONSUL_LICENSE: ${{secrets.consul-license}}
|
||||||
GOTAGS: ${{ inputs.go-tags}}
|
GOTAGS: ${{ inputs.go-tags}}
|
||||||
|
@ -97,11 +97,9 @@ jobs:
|
||||||
umask 0022
|
umask 0022
|
||||||
|
|
||||||
go run gotest.tools/gotestsum@v${{env.GOTESTSUM_VERSION}} \
|
go run gotest.tools/gotestsum@v${{env.GOTESTSUM_VERSION}} \
|
||||||
--format=short-verbose \
|
--format=github-actions \
|
||||||
--jsonfile /tmp/jsonfile/go-test.log \
|
--jsonfile /tmp/jsonfile/go-test.log \
|
||||||
--debug \
|
--rerun-fails \
|
||||||
--rerun-fails=3 \
|
|
||||||
--rerun-fails-max-failures=40 \
|
|
||||||
--rerun-fails-report=/tmp/gotestsum-rerun-fails \
|
--rerun-fails-report=/tmp/gotestsum-rerun-fails \
|
||||||
--packages="$PACKAGE_NAMES" \
|
--packages="$PACKAGE_NAMES" \
|
||||||
--junitfile ${{env.TEST_RESULTS}}/gotestsum-report.xml -- \
|
--junitfile ${{env.TEST_RESULTS}}/gotestsum-report.xml -- \
|
||||||
|
|
Loading…
Reference in New Issue