Skip to content

Migrate to PEP621

Migrate to PEP621 #75

Workflow file for this run

name: Tests
on:
- push
- pull_request
jobs:
pre-commit:
name: pre-commit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- uses: pre-commit/action@v3.0.1
test:
runs-on: ${{ matrix.os }}
needs: [ pre-commit ]
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12-dev', 'pypy-3.8', 'pypy-3.9']
click-version: ['7.1.2', '8.1.2']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions click==${{ matrix.click-version }}
- name: Test with tox
run: tox