Skip to content

Drop PEP440 dependency (#87) #96

Drop PEP440 dependency (#87)

Drop PEP440 dependency (#87) #96

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@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: |
pip install -U pip tox
git config --global user.name tester
git config --global user.email tester@example.com
- 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
# 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@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: |
pip install -U pip tox
git config --global user.name tester
git config --global user.email tester@example.com
- 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@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- run: pip install -U pip tox
- run: tox -e docs,style,security