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:
parent
16288a2972
commit
f16c6806fd
1
.github/workflows/build-install.yaml
vendored
1
.github/workflows/build-install.yaml
vendored
@ -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'
|
||||||
|
1
.github/workflows/linters.yaml
vendored
1
.github/workflows/linters.yaml
vendored
@ -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
|
||||||
|
1
.github/workflows/tests.yaml
vendored
1
.github/workflows/tests.yaml
vendored
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user