1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-19 16:56:17 +02:00

GHA: Add pip install test

This commit is contained in:
Daniel Mach 2022-08-24 10:27:52 +02:00
parent f480fef8d1
commit 94a8bc88a4

View File

@ -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 .