2024-10-21 03:16:30 +00:00
|
|
|
name: Tox Tests
|
2024-10-21 02:53:33 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
pull_request:
|
|
|
|
types:
|
|
|
|
- opened
|
|
|
|
- synchronize
|
|
|
|
- reopened
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
python:
|
|
|
|
- '3.9'
|
|
|
|
- '3.10'
|
|
|
|
- '3.11'
|
|
|
|
- '3.12'
|
|
|
|
- '3.13'
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install Python
|
|
|
|
uses: actions/setup-python@v5
|
|
|
|
with:
|
|
|
|
python-version: ${{ matrix.python }}
|
|
|
|
- name: Install tox
|
|
|
|
run: |
|
|
|
|
python -m pip install --upgrade pip
|
|
|
|
python -m pip install tox tox-gh
|
|
|
|
- name: Set up test suite
|
2024-10-21 03:10:03 +00:00
|
|
|
run: python -m tox run -vv --notest --skip-missing-interpreters true
|
2024-10-21 02:53:33 +00:00
|
|
|
env:
|
|
|
|
TOX_GH_MAJOR_MINOR: ${{ matrix.python }}
|
|
|
|
- name: Run test suite
|
|
|
|
run: python -m tox run --skip-pkg-install
|
|
|
|
env:
|
|
|
|
TOX_GH_MAJOR_MINOR: ${{ matrix.python }}
|