mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-19 08:42:11 +01:00
GHA: Install obs-scm-bridge directly from github in the behave test
This commit is contained in:
parent
e179b0f002
commit
4215d1a43d
8
.github/workflows/tests.yaml
vendored
8
.github/workflows/tests.yaml
vendored
@ -131,7 +131,13 @@ jobs:
|
||||
run: |
|
||||
sudo sh -c '. /etc/os-release; echo "deb [trusted=yes] http://download.opensuse.org/repositories/openSUSE:Tools/xUbuntu_${VERSION_ID} ./" > /etc/apt/sources.list.d/openSUSE-Tools.list'
|
||||
sudo apt-get -y update
|
||||
sudo apt-get -y --no-install-recommends install python3-behave diffstat diffutils python3 python3-cryptography python3-pip python3-rpm python3-ruamel.yaml python3-setuptools python3-urllib3 obs-build obs-service-set-version
|
||||
sudo apt-get -y --no-install-recommends install git python3-behave diffstat diffutils python3 python3-cryptography python3-pip python3-rpm python3-ruamel.yaml python3-setuptools python3-urllib3 obs-build obs-service-set-version
|
||||
# obs-scm-bridge is not available as a package at the moment, install it from github
|
||||
sudo pip3 config set global.break-system-packages 1
|
||||
sudo pip3 install git+https://github.com/openSUSE/obs-scm-bridge
|
||||
sudo chmod a+x /usr/local/lib/*/*/obs_scm_bridge
|
||||
sudo mkdir -p /usr/lib/obs/service
|
||||
sudo ln -s /usr/local/lib/*/*/obs_scm_bridge /usr/lib/obs/service/obs_scm_bridge
|
||||
|
||||
- name: "Checkout sources"
|
||||
uses: actions/checkout@v3
|
||||
|
Loading…
x
Reference in New Issue
Block a user