mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-09 22:36:14 +01:00
GHA: Add pip install test
This commit is contained in:
parent
f480fef8d1
commit
94a8bc88a4
@ -1,4 +1,4 @@
|
||||
name: 'rpmbuild test'
|
||||
name: 'build and installation tests'
|
||||
|
||||
on:
|
||||
push:
|
||||
@ -19,7 +19,7 @@ on:
|
||||
- 'doc/**'
|
||||
|
||||
jobs:
|
||||
test:
|
||||
rpmbuild:
|
||||
name: 'rpmbuild test'
|
||||
runs-on: 'ubuntu-latest'
|
||||
strategy:
|
||||
@ -84,3 +84,22 @@ jobs:
|
||||
git fetch upstream --tags --force
|
||||
|
||||
./contrib/build_rpm.py --srpm --rpm
|
||||
|
||||
pip:
|
||||
name: 'pip install test'
|
||||
runs-on: 'ubuntu-latest'
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
||||
steps:
|
||||
- name: 'Install packages'
|
||||
run: |
|
||||
sudo apt-get -y update
|
||||
sudo apt-get -y upgrade
|
||||
sudo apt-get -y --no-install-recommends install git python3-pip python3-rpm
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: 'Install osc from pip'
|
||||
run: |
|
||||
pip3 install .
|
Loading…
Reference in New Issue
Block a user