Update CI items #130
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: Testing Koan | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
run_tests: | |
runs-on: ubuntu-latest | |
container: registry.opensuse.org/opensuse/tumbleweed:latest | |
steps: | |
- name: Install pre reqs | |
run: zypper -n in git tar | |
- uses: actions/checkout@v2 | |
- name: Install package deps | |
run: zypper -n in --no-recommends python3-devel python3-wheel python3-pip python3-libvirt-python python3-codecov gcc make | |
- name: Install dependencies | |
run: pip3 install .[lint,test] | |
- name: Run tests | |
run: pytest --cov=./koan | |
- name: Upload report to codecov | |
run: codecov |