mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Adding conditionals for needing break-system-packages on Linux wiht pip
This commit is contained in:
parent
0c255cfb80
commit
ef3d82c1a8
3 changed files with 5 additions and 4 deletions
7
.github/workflows/test-linux.yml
vendored
7
.github/workflows/test-linux.yml
vendored
|
@ -47,8 +47,11 @@ jobs:
|
|||
|
||||
- name: Install Python Dependencies
|
||||
run: |
|
||||
## python3 -m pip install --break-system-packages -U pip
|
||||
python3 -m pip install --break-system-packages -r tests/requirements.txt
|
||||
if [[ ${{ inputs.distro-slug }} == "debian-11" || ${{ inputs.distro-slug }} == "debian-12" || ${{ inputs.distro-slug }} == "debian-13" || ${{ inputs.distro-slug }} == "ubuntu-2404" ]]; then
|
||||
python3 -m pip install --break-system-packages -r tests/requirements.txt
|
||||
else
|
||||
python3 -m pip install -r tests/requirements.txt
|
||||
fi
|
||||
|
||||
- name: Bootstrap Salt
|
||||
run: |
|
||||
|
|
1
.github/workflows/test-macos.yml
vendored
1
.github/workflows/test-macos.yml
vendored
|
@ -49,7 +49,6 @@ jobs:
|
|||
|
||||
- name: Install Python Dependencies
|
||||
run: |
|
||||
## python3 -m pip install -U pip
|
||||
python3 -m pip install -r tests/requirements.txt
|
||||
|
||||
- name: Bootstrap Salt
|
||||
|
|
1
.github/workflows/test-windows.yml
vendored
1
.github/workflows/test-windows.yml
vendored
|
@ -53,7 +53,6 @@ jobs:
|
|||
|
||||
- name: Install Python Dependencies
|
||||
run: |
|
||||
## python3 -m pip install -U pip
|
||||
python3 -m pip install -r tests/requirements.txt
|
||||
|
||||
- name: Get Version
|
||||
|
|
Loading…
Add table
Reference in a new issue