File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -116,9 +116,9 @@ jobs:
116116 configure : --with-openssl
117117 check : false
118118
119- - name : Generate certificates for force-fail tests
119+ - name : Generate certificates for curl master force-fail tests
120120 run : |
121- if [ "${{ matrix.force_fail }}" = "1" ]; then
121+ if [ "${{ matrix.force_fail }}" = "1" ] && [ "${{ matrix.curl_ref }}" = "master" ] ; then
122122 cd curl/tests/certs
123123 make test-ca.cacert
124124 cd ../..
@@ -135,7 +135,8 @@ jobs:
135135 export WOLFPROV_FORCE_FAIL=${{ matrix.force_fail }}
136136 export CURL_REF=${{ matrix.curl_ref }}
137137
138- # Run tests
139- make -j$(nproc) test-ci || true
138+ # Run tests and save output to test.log
139+ mkdir -p tests
140+ make -j$(nproc) test-ci 2>&1 | tee tests/test.log || true
140141 TEST_RESULT=$?
141142 $GITHUB_WORKSPACE/.github/scripts/check-workflow-result.sh $TEST_RESULT ${{ matrix.force_fail }} curl
You can’t perform that action at this time.
0 commit comments