diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 9ec9eb3..a7ada33 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -6,15 +6,16 @@ on: jobs: test: - runs-on: ubuntu-latest + runs-on: ${{ matrix.platform }} strategy: matrix: + platform: [ubuntu-latest, macos-latest, windows-latest] python-version: ["3.7", "3.8", "3.9", "3.10", "3.11.0-beta.1"] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/pyproject.toml b/pyproject.toml index 1e4c4aa..9c56a49 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,6 +57,14 @@ legacy_tox_ini = ''' [tox] envlist = py37,py38, py39, py310, py311 isolated_build = True + +[gh-actions] +python = + 3.7: py37 + 3.8: py38 + 3.9: py39 + 3.10: py310 + 3.11: py311 [testenv] deps = pytest