Skip to content

Update workflow file #1017

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 9, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 6 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand All @@ -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: |
Expand Down