1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-24 17:16:12 +01:00

GHA: Enable global.break-system-packages option for pip

This commit is contained in:
Daniel Mach 2023-02-14 14:39:33 +01:00
parent 16288a2972
commit f16c6806fd
3 changed files with 3 additions and 0 deletions

View File

@ -111,6 +111,7 @@ jobs:
- name: 'Install osc from pip' - name: 'Install osc from pip'
run: | run: |
pip config set global.break-system-packages 1
pip3 install . pip3 install .
- name: 'Run installed osc' - name: 'Run installed osc'

View File

@ -17,6 +17,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-python@v4 - uses: actions/setup-python@v4
- run: pip config set global.break-system-packages 1
- run: pip install mypy - run: pip install mypy
- run: pip install types-cryptography types-urllib3 - run: pip install types-cryptography types-urllib3
- run: pip install distro keyring progressbar zstandard - run: pip install distro keyring progressbar zstandard

View File

@ -78,6 +78,7 @@ jobs:
- name: 'Run unit tests' - name: 'Run unit tests'
run: | run: |
pip3 config set global.break-system-packages 1
pip3 install -e . pip3 install -e .
python3 setup.py test python3 setup.py test