]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA/macos: use `test-torture` target for torture tests
authorViktor Szakats <commit@vsz.me>
Tue, 22 Oct 2024 12:40:26 +0000 (14:40 +0200)
committerViktor Szakats <commit@vsz.me>
Tue, 22 Oct 2024 18:20:42 +0000 (20:20 +0200)
They used `test-ci` before this patch.

Closes #15369

.github/workflows/macos.yml

index 9c4d5748584f31fd09128cc60f310dbcbcc71f2b..9c037efb8ac72d679948fff375263aa4ccb55645 100644 (file)
@@ -339,9 +339,9 @@ jobs:
           source $HOME/venv/bin/activate
           rm -f $HOME/.curlrc
           if [ -n '${{ matrix.build.configure }}' ]; then
-            make -C bld V=1 test-ci
+            make -C bld V=1 ${{ matrix.build.torture && 'test-torture' || 'test-ci' }}
           else
-            cmake --build bld --target test-ci
+            cmake --build bld --target ${{ matrix.build.torture && 'test-torture' || 'test-ci' }}
           fi
 
       - name: 'build examples'