aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>2022-01-09 18:18:44 +0000
committerGitHub <noreply@github.com>2022-01-09 10:18:44 -0800
commit90b03abe37d3ebe585842f9dd31382af0150e9a0 (patch)
tree9f83bc9bd1197fdb9fc544117a6cb0c949e3030b
parenta7a8d4824bc2dc2e51e252cfc166d3dbc7057d72 (diff)
downloadtyping-90b03abe37d3ebe585842f9dd31382af0150e9a0.tar.gz
Update workflow file (#1017)
* Test on Python 3.11 pre-releases * Update linter config
-rw-r--r--.github/workflows/ci.yml19
1 files changed, 6 insertions, 13 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 80b4092..dbfb82e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
+ python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11-dev"]
runs-on: ubuntu-latest
@@ -29,7 +29,7 @@ jobs:
- name: Test typing_extensions
run: |
# Be wary of running `pip install` here, since it becomes easy for us to
- # accidentally pick up typing_extensions as installed by a dependency
+ # accidentally pick up typing_extensions as installed by a dependency
cd typing_extensions/src
python -m unittest test_typing_extensions.py
@@ -40,19 +40,12 @@ jobs:
steps:
- uses: actions/checkout@v2
-
- - name: Set up Python
+ - name: Set up Python 3
uses: actions/setup-python@v2
with:
- python-version: 3.9
-
- - name: Load pip cache
- uses: actions/cache@v2
- with:
- path: ~/.cache/pip
- key: ${{ runner.os }}-pip-${{ hashFiles('**/test-requirements.txt') }}
- restore-keys: |
- ${{ runner.os }}-pip-
+ python-version: 3
+ cache: "pip"
+ cache-dependency-path: "test-requirements.txt"
- name: Install dependencies
run: |