mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-24 17:16:12 +01:00
Merge pull request #1263 from dmach/allow-pip-break-system-packages
GHA: Enable global.break-system-packages option for pip
This commit is contained in:
commit
ac153a27fa
1
.github/workflows/build-install.yaml
vendored
1
.github/workflows/build-install.yaml
vendored
@ -111,6 +111,7 @@ jobs:
|
||||
|
||||
- name: 'Install osc from pip'
|
||||
run: |
|
||||
pip config set global.break-system-packages 1
|
||||
pip3 install .
|
||||
|
||||
- name: 'Run installed osc'
|
||||
|
1
.github/workflows/linters.yaml
vendored
1
.github/workflows/linters.yaml
vendored
@ -17,6 +17,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v4
|
||||
- run: pip config set global.break-system-packages 1
|
||||
- run: pip install mypy
|
||||
- run: pip install types-cryptography types-urllib3
|
||||
- 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'
|
||||
run: |
|
||||
pip3 config set global.break-system-packages 1
|
||||
pip3 install -e .
|
||||
python3 setup.py test
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user