summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth Michael Larson <sethmichaellarson@gmail.com>2021-11-11 10:20:48 -0600
committerGitHub <noreply@github.com>2021-11-11 10:20:48 -0600
commit9c3d08978807b08c98245da60e91d07529e333df (patch)
tree362e37bb2dbbc9e500a0087d2b37fbf42c13891e
parentfac7db19a1e8e15e5b302e2203ce35cd0485bc88 (diff)
downloadurllib3-9c3d08978807b08c98245da60e91d07529e333df.tar.gz
Test development versions of Python
-rw-r--r--.github/workflows/ci.yml12
1 files changed, 10 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5fecb46d..04229b10 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -50,6 +50,14 @@ jobs:
os: ubuntu-latest
experimental: false
nox-session: test-3.9
+ - python-version: 3.11-dev
+ os: ubuntu-latest
+ experimental: true
+ nox-session: test
+ - python-version: nightly
+ os: ubuntu-latest
+ experimental: true
+ nox-session: test
runs-on: ${{ matrix.os }}
name: ${{ fromJson('{"macos-latest":"macOS","windows-latest":"Windows","ubuntu-latest":"Ubuntu"}')[matrix.os] }} ${{ matrix.python-version }} ${{ matrix.nox-session}}
@@ -66,13 +74,13 @@ jobs:
- name: Set Up Python - ${{ matrix.python-version }}
uses: actions/setup-python@v2
- if: "!endsWith(matrix.python-version, '-dev')"
+ if: "!endsWith(matrix.python-version, '-dev') && matrix.python-version != 'nightly'"
with:
python-version: ${{ matrix.python-version }}
- name: Set Up Python - ${{ matrix.python-version }}
uses: deadsnakes/action@v2.0.2
- if: endsWith(matrix.python-version, '-dev')
+ if: "endsWith(matrix.python-version, '-dev') || matrix.python-version == 'nightly'"
with:
python-version: ${{ matrix.python-version }}