From ac0f5b15b6ec1c9c36b2a48774a91936907be8dc Mon Sep 17 00:00:00 2001 From: Oliver Sanders Date: Thu, 27 Apr 2023 15:51:07 +0100 Subject: [PATCH] actions: test up to python 3.11 --- .github/workflows/1_create_release_pr.yml | 3 +-- .github/workflows/2_auto_publish_release.yml | 3 +-- .github/workflows/tests.yml | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/1_create_release_pr.yml b/.github/workflows/1_create_release_pr.yml index 900fe9c3..3ef968d0 100644 --- a/.github/workflows/1_create_release_pr.yml +++ b/.github/workflows/1_create_release_pr.yml @@ -38,8 +38,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - # return to 3.x once cylc-flow is compatible with 3.10+ (pyuv) - python-version: '3.9' + python-version: '3.x' - name: Create & checkout PR branch uses: cylc/release-actions/stage-1/checkout-pr-branch@v1 diff --git a/.github/workflows/2_auto_publish_release.yml b/.github/workflows/2_auto_publish_release.yml index 5f2d6b21..dd202f11 100644 --- a/.github/workflows/2_auto_publish_release.yml +++ b/.github/workflows/2_auto_publish_release.yml @@ -28,8 +28,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - # return to 3.x once cylc-flow is compatible with 3.10+ (pyuv) - python-version: '3.9' + python-version: '3.x' - name: Get the version number uses: cylc/release-actions/stage-2/get-version-from-pr@v1 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a29e2e48..fe9a2f60 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,7 +14,7 @@ jobs: timeout-minutes: 5 strategy: matrix: - python-version: ['3.7', '3.8', '3.9'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] env: PYTEST_ADDOPTS: --cov --cov-append --color=yes steps: