Skip to content

Drop support for Python 3.8, add support for Python 3.12 #78

Drop support for Python 3.8, add support for Python 3.12

Drop support for Python 3.8, add support for Python 3.12 #78

Workflow file for this run

name: Tox
on:
workflow_dispatch:
push:
branches:
- main
paths:
- src
- tests
- pyproject.toml
- tox.ini
pull_request:
branches:
- main
paths:
- src
- tests
- pyproject.toml
- tox.ini
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
run-all-tests:
name: Py${{ matrix.py }} / ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-22.04
py:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
- name: Set up Python ${{ matrix.py }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.py }}
- name: Checkout scos-tekrsa
uses: actions/checkout@v4
- name: Install tox-gh
run: python -m pip install tox-gh
- name: Set up test suite
run: tox r -vv --notest
- name: Run test suite
run: tox r --skip-pkg-install
env:
PYTEST_ADDOPTS: "-vv --durations=0"