diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 67caa59..0a2d3a9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,10 +24,22 @@ jobs: matrix: os: [ubuntu-latest, macos-latest] node: [12, 14, 16] - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11.0'] + # Python 3.11 is currently broken in `setup-python` on MacOS + # https://github.com/actions/setup-python/issues/531 + exclude: + - os: macos-latest + python-version: '3.11.0' + node: 12 + - os: macos-latest + python-version: '3.11.0' + node: 14 + - os: macos-latest + python-version: '3.11.0' + node: 16 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 # TODO: ensure that pyright-python uses this node version - uses: actions/setup-node@v2 @@ -35,7 +47,7 @@ jobs: node-version: ${{ matrix.node }} - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} @@ -74,10 +86,10 @@ jobs: python-version: [3.9] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} diff --git a/setup.py b/setup.py index 3fd8fb1..405c5ec 100755 --- a/setup.py +++ b/setup.py @@ -70,5 +70,6 @@ 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', ], ) diff --git a/tox.ini b/tox.ini index 3ad215c..55e3de4 100644 --- a/tox.ini +++ b/tox.ini @@ -6,6 +6,7 @@ envlist = py38, py39, py310, + py311, report, skip_missing_interpreters = true