From 8a7b851b8c3dae28fb1ccd35ee616dbc1643dff5 Mon Sep 17 00:00:00 2001 From: Yuekui Li Date: Thu, 3 Nov 2022 15:34:42 -0700 Subject: [PATCH 1/3] Add Python 3.11 in testing and refine uploading Codecov reports --- .github/workflows/test.yml | 4 ++-- tox.ini | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 45a7a349..dc9a1c13 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,7 +24,7 @@ jobs: fail-fast: true matrix: platform: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.6, 3.7, 3.8, 3.9, '3.10.0-beta.1'] + python-version: [3.6, 3.7, 3.8, 3.9, '3.10', 3.11] steps: - uses: actions/checkout@v3.1.0 @@ -53,7 +53,7 @@ jobs: PLATFORM: ${{ matrix.platform }} - name: "Upload coverage to Codecov" - if: ${{ runner.os }} == "Linux" + if: ${{ runner.os == 'Linux' && matrix.python-version == '3.9' }} uses: codecov/codecov-action@v3.1.1 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/tox.ini b/tox.ini index e4858ee8..8372150c 100644 --- a/tox.ini +++ b/tox.ini @@ -4,19 +4,20 @@ skipsdist = false envlist = py36-django{20,21,22,30,31,32,main}-{linux,macos,windows} py37-django{20,21,22,30,31,32,main}-{linux,macos,windows} - py38-django{20,21,22,30,31,32,40,41,main}-{linux,macos,windows} - py39-django{20,21,22,30,31,32,40,41,main}-{linux,macos,windows} - py310-django{21,22,30,31,32,40,41,main}-{linux,macos,windows} + py38-django{21,22,30,31,32,40,41,main}-{linux,macos,windows} + py39-django{21,22,30,31,32,40,41,main}-{linux,macos,windows} + py310-django{22,30,31,32,40,41,main}-{linux,macos,windows} + py311-django{22,30,31,32,40,41,main}-{linux,macos,windows} skip_missing_interpreters = true [gh-actions] python = - 2.7: py27 3.6: py36 3.7: py37 3.8: py38 3.9: py39 3.10: py310 + 3.11: py311 [gh-actions:env] PLATFORM = From f665969e0ac915ab81c7009c5a8c8ed5b616eb3d Mon Sep 17 00:00:00 2001 From: Yuekui Li Date: Thu, 3 Nov 2022 15:49:12 -0700 Subject: [PATCH 2/3] No lxml wheels for MacOS and Windows yet --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 8372150c..142fabc7 100644 --- a/tox.ini +++ b/tox.ini @@ -7,7 +7,7 @@ envlist = py38-django{21,22,30,31,32,40,41,main}-{linux,macos,windows} py39-django{21,22,30,31,32,40,41,main}-{linux,macos,windows} py310-django{22,30,31,32,40,41,main}-{linux,macos,windows} - py311-django{22,30,31,32,40,41,main}-{linux,macos,windows} + py311-django{22,30,31,32,40,41,main}-{linux} skip_missing_interpreters = true [gh-actions] From 10a65cf22b2529987f8728af9474b1fa879c845d Mon Sep 17 00:00:00 2001 From: Yuekui Li Date: Thu, 3 Nov 2022 15:53:38 -0700 Subject: [PATCH 3/3] Exclude matrix platforms --- .github/workflows/test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dc9a1c13..cf574537 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,6 +25,11 @@ jobs: matrix: platform: [ubuntu-latest, macos-latest, windows-latest] python-version: [3.6, 3.7, 3.8, 3.9, '3.10', 3.11] + exclude: + - platform: macos-latest + python-version: 3.11 + - platform: windows-latest + python-version: 3.11 steps: - uses: actions/checkout@v3.1.0