File tree Expand file tree Collapse file tree 4 files changed +16
-5
lines changed Expand file tree Collapse file tree 4 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 6060 with :
6161 go-version-file : go.mod
6262 - name : Run unit tests
63- run : make test | tee test.log
63+ run : |
64+ set -o pipefail
65+ make test | tee test.log
6466 - name : Archive test results
6567 uses : actions/upload-artifact@v4
6668 if : success() || failure()
Original file line number Diff line number Diff line change 8383 - name : Run unit tests
8484 working-directory : ./components/compass-runtime-agent
8585 run : |
86+ set -o pipefail
8687 touch test.log
8788 make test | tee -a test.log
8889 - name : Archive test results
Original file line number Diff line number Diff line change 7676 cache-dependency-path : components/central-application-gateway/go.sum
7777 - name : Run unit tests
7878 working-directory : ./components/central-application-gateway
79- run : go test ./... | tee test.log
79+ run : |
80+ set -o pipefail
81+ go test ./... | tee test.log
8082 - name : Archive test results
8183 if : success() || failure()
8284 uses : actions/upload-artifact@v4
@@ -116,7 +118,9 @@ jobs:
116118 DEFAULT_K3D_VERSION : v5.6.0
117119 run : curl --silent --fail $K3D_URL | TAG=$DEFAULT_K3D_VERSION bash
118120 - name : Run unit tests
119- run : make -C tests/hack/ci k3d-gateway-tests
121+ run : |
122+ set -o pipefail
123+ make -C tests/hack/ci k3d-gateway-tests
120124 - name : Archive test results
121125 if : success() || failure()
122126 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change 7676 cache-dependency-path : components/central-application-connectivity-validator/go.sum
7777 - name : Run unit tests
7878 working-directory : ./components/central-application-connectivity-validator
79- run : make test | tee test.log
79+ run : |
80+ set -o pipefail
81+ make test | tee test.log
8082 - name : Archive test results
8183 if : success() || failure()
8284 uses : actions/upload-artifact@v4
@@ -115,7 +117,9 @@ jobs:
115117 - name : Install yq
116118 run : sudo go install github.com/mikefarah/yq/v4@latest
117119 - name : Run unit tests
118- run : make -C tests/hack/ci k3d-validator-tests
120+ run : |
121+ set -o pipefail
122+ make -C tests/hack/ci k3d-validator-tests
119123 - name : Archive test results
120124 if : always()
121125 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments