name: Tests on: [push, pull_request] jobs: tests: runs-on: ubuntu-latest strategy: matrix: python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14', 'pypy3.9', 'pypy3.10', 'pypy3.11'] steps: - uses: actions/checkout@v7 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v7 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip pip install "tox>=4.30,<5" "tox-gh-actions>=3.5,<4" - name: Run unit tests with tox run: tox tests-old: runs-on: ubuntu-22.04 strategy: matrix: python-version: ['3.7', '3.8'] steps: - uses: actions/checkout@v7 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v7 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip pip install "tox>=4.8,<5" "tox-gh-actions>=3.5,<4" - name: Run unit tests with tox run: tox