Skip to content

Commit faf06de

Browse files
committed
curl amster force fail test needs certs generated only
1 parent 203de58 commit faf06de

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/curl.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)