Skip to content

Enabled more lint rules (#30) #383

Enabled more lint rules (#30)

Enabled more lint rules (#30) #383

Workflow file for this run

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@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install -U pip tox setuptools
- run: tox -e py
- uses: codecov/codecov-action@v4
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@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install -U pip tox
- run: tox -e py
- uses: codecov/codecov-action@v4
with:
files: .tox/test-reports/coverage.xml
linters:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- run: pip install -U pip tox
- run: tox -e docs,style