Do not resolve non-modular RPM with modular RPM [RHELDST-18106] #191
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: Tox tests | |
on: [push, pull_request] | |
jobs: | |
py311: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install Tox | |
run: pip install tox 'virtualenv<20.21.1' | |
- name: Run Tox | |
run: tox -e py311 | |
py310: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install Tox | |
run: pip install tox 'virtualenv<20.21.1' | |
- name: Run Tox | |
run: tox -e py310 | |
py39: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.9" | |
- name: Install Tox | |
run: pip install tox 'virtualenv<20.21.1' | |
- name: Run Tox | |
run: tox -e py39 | |
static: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install Tox | |
run: pip install tox 'virtualenv<20.21.1' | |
- name: Run Tox | |
run: tox -e static | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install Tox | |
run: pip install tox 'virtualenv<20.21.1' | |
- 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@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
fail_ci_if_error: true | |
verbose: true |