Skip to content

Add ability to specify bootmode [RHELDST-18235] #2

Add ability to specify bootmode [RHELDST-18235]

Add ability to specify bootmode [RHELDST-18235] #2

Workflow file for this run

name: Tox tests
on: [push, pull_request]
jobs:
py38:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install RPM
run: sudo apt-get install -y rpm
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install Tox
run: pip install tox
- name: Run Tox
run: tox -e py38
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install RPM
run: sudo apt-get install -y rpm
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install Tox
run: pip install tox
- name: Run Tox
run: tox -e lint
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install RPM
run: sudo apt-get install -y rpm
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install Tox
run: pip install tox
- name: Run Tox
run: tox -e cov
- name: Install pytest cov
run: pip install pytest-cov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: true
verbose: true
bandit-exitzero:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install RPM
run: sudo apt-get install -y rpm
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install Tox
run: pip install tox
- name: Run Tox
run: tox -e py3-bandit-exitzero
bandit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install RPM
run: sudo apt-get install -y rpm
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install Tox
run: pip install tox
- name: Run Tox
run: tox -e py3-bandit