]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA/torture: prefer pip `--break-system-packages` for speed
authorViktor Szakats <commit@vsz.me>
Thu, 26 Sep 2024 22:46:26 +0000 (00:46 +0200)
committerViktor Szakats <commit@vsz.me>
Fri, 27 Sep 2024 08:27:08 +0000 (10:27 +0200)
Follow-up to c5e3d8ba94791dbc51f98a56ce07b3ba6b0aa446 #14972

Closes #15071

.github/workflows/torture.yml

index ae6a318635cf4904e2275f50ee1a20b48240563e..2765d4631ac5781515997fcc7c6b278121c83d28 100644 (file)
@@ -61,9 +61,7 @@ jobs:
     steps:
       - run: |
           sudo apt-get install cmake ninja-build pkgconf stunnel4 ${{ matrix.build.install }}
-          python3 -m venv $HOME/venv
-          source $HOME/venv/bin/activate
-          python3 -m pip install impacket
+          python3 -m pip install --break-system-packages impacket
         name: 'install prereqs'
 
       - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
@@ -83,9 +81,7 @@ jobs:
       - run: cmake --build . --verbose --target testdeps
         name: 'build tests'
 
-      - run: |
-          source $HOME/venv/bin/activate
-          cmake --build . --verbose --target test-torture
+      - run: cmake --build . --verbose --target test-torture
         name: 'run tests'
         env:
           TFLAGS: '-j10 ${{ matrix.build.tflags }}'