Skip to content

drop python3.8

drop python3.8 #53

Workflow file for this run

name: Tests
on:
push:
branches: [main]
paths-ignore:
- "docs/**"
- "*.md"
pull_request:
branches: [main]
paths-ignore:
- "docs/**"
- "*.md"
jobs:
tests:
name: ${{ matrix.name }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- { name: "3.11-dev", python: "3.11-dev", tox: py311 }
- { name: "3.10", python: "3.10", tox: py310 }
- { name: "3.9", python: "3.9", tox: py39 }
- { name: "3.8", python: "3.8", tox: py38 }
- { name: "PyPy", python: "pypy-3.8", tox: pypy38 }
- { name: "Typing", python: "3.10", tox: typing }
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python 3
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: "pip"
cache-dependency-path: "requirements/*.txt"
- name: Update PIP and install tox
run: |
pip install -U wheel
pip install -U setuptools
python -m pip install -U pip
pip install -U tox
- name: Run Tests ${{ matrix.name }}
run: tox -e ${{ matrix.tox }}
coverage:
name: Coverage
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python 3
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: "pip"
cache-dependency-path: "requirements/*.txt"
- name: Update PIP and install tox
run: |
pip install -U wheel
pip install -U setuptools
python -m pip install -U pip
pip install -U tox
- name: Run Tests and collect coverage
run: tox -e coverage
- name: upload coverage
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos