Merge pull request #25 from mimi1vx/bugfix_jr #133
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: ci | |
# yamllint disable-line rule:truthy | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y \ | |
python3-openqa-client \ | |
python3-paramiko \ | |
python3-xdg \ | |
python3-requests \ | |
python3-responses \ | |
python3-rpm \ | |
python3-ruamel.yaml \ | |
subversion \ | |
python3-pytest \ | |
python3-pytest-cov \ | |
python3-coverage \ | |
black | |
- name: Run tests + cov report | |
run: python3 -m pytest -v --cov=./mtui --cov-report=xml --cov-report=term | |
- name: Check style | |
run: make checkstyle | |
- name: Upload coverage to CodeCov | |
uses: codecov/codecov-action@v3 | |
with: | |
files: coverage.xml |