No preferred python from PATH env var #357
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: Tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- run: pip install -U pip tox setuptools | |
- run: tox -e py | |
- uses: codecov/codecov-action@v3 | |
with: | |
files: .tox/test-reports/coverage.xml | |
test-eol: | |
# EOL-ed versions of python are exercised on older linux distros for a while longer | |
# Testing against these versions will eventually be retired | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
python-version: ["3.6", "3.7"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- run: pip install -U pip tox | |
- run: tox -e py | |
- uses: codecov/codecov-action@v3 | |
with: | |
files: .tox/test-reports/coverage.xml | |
linters: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- run: pip install -U pip tox | |
- run: tox -e docs,style,security |