Fix legacy bootmode enum to match pushsource #12
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: 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 |