GHA/linux: fixup pip for Ubuntu 24.04

`ubuntu-latest` became `ubuntu-24.04` today.

Closes #15287
This commit is contained in:
Viktor Szakats 2024-10-14 03:01:41 +02:00
parent 69bf530dfd
commit 8ea120f615
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201
2 changed files with 4 additions and 4 deletions

View File

@ -501,7 +501,7 @@ jobs:
- name: 'install test prereqs' - name: 'install test prereqs'
run: | run: |
sudo python3 -m pip install -r tests/requirements.txt sudo python3 -m pip install --break-system-packages -r tests/requirements.txt
- name: 'run tests' - name: 'run tests'
env: env:
@ -515,7 +515,7 @@ jobs:
- name: 'install pytest prereqs' - name: 'install pytest prereqs'
run: | run: |
sudo python3 -m pip install -r tests/http/requirements.txt sudo python3 -m pip install --break-system-packages -r tests/http/requirements.txt
- name: cache mod_h2 - name: cache mod_h2
uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4 uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4

View File

@ -627,7 +627,7 @@ jobs:
- name: 'install test prereqs' - name: 'install test prereqs'
if: ${{ matrix.build.install_steps != 'skipall' && !startsWith(matrix.build.container, 'alpine') && matrix.build.container == null }} if: ${{ matrix.build.install_steps != 'skipall' && !startsWith(matrix.build.container, 'alpine') && matrix.build.container == null }}
run: | run: |
sudo python3 -m pip install -r tests/requirements.txt sudo python3 -m pip install --break-system-packages -r tests/requirements.txt
- name: 'run tests' - name: 'run tests'
if: ${{ matrix.build.install_steps != 'skipall' && matrix.build.install_steps != 'skiprun' }} if: ${{ matrix.build.install_steps != 'skipall' && matrix.build.install_steps != 'skiprun' }}
@ -649,7 +649,7 @@ jobs:
- name: 'install pytest prereqs' - name: 'install pytest prereqs'
if: contains(matrix.build.install_steps, 'pytest') if: contains(matrix.build.install_steps, 'pytest')
run: | run: |
sudo python3 -m pip install -r tests/http/requirements.txt sudo python3 -m pip install --break-system-packages -r tests/http/requirements.txt
- name: cache mod_h2 - name: cache mod_h2
if: contains(matrix.build.install_steps, 'pytest') if: contains(matrix.build.install_steps, 'pytest')