Support installing osc into virtualenv #502
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'build and installation tests' | |
on: | |
pull_request: | |
branches: ['master'] | |
paths-ignore: | |
- 'AUTHORS' | |
- 'COPYING' | |
- 'NEWS' | |
- 'README.md' | |
- 'doc/**' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
virtualenv: | |
name: 'virtualenv install test' | |
runs-on: 'ubuntu-latest' | |
strategy: | |
fail-fast: false | |
steps: | |
- name: 'Install packages' | |
run: | | |
sudo apt-get -y update | |
sudo apt-get -y --no-install-recommends install git python3-pip python3-rpm python3-virtualenv | |
- uses: actions/checkout@v3 | |
- name: 'Initialize virtualenv' | |
run: | | |
virtualenv venv | |
./venv/bin/pip3 install . | |
- name: 'Run installed osc' | |
run: | | |
./venv/bin/osc --help |