Skip to content

Commit

Permalink
Run tests on py312 for more third-party projects (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWaygood authored Sep 8, 2023
1 parent 7e29499 commit df9e322
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/third_party.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
Expand All @@ -145,6 +145,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install pyanalyze test requirements
run: pip install ./pyanalyze[tests]
- name: Install typing_extensions latest
Expand Down Expand Up @@ -266,7 +267,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
Expand All @@ -283,6 +284,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install mypy test requirements
run: |
cd mypy
Expand Down Expand Up @@ -320,10 +322,6 @@ jobs:
uses: actions/checkout@v3
with:
repository: python-attrs/cattrs
- name: Edit cattrs pyproject.toml
# cattrs's python-requires means pdm won't let us add typing-extensions-latest
# as a requirement unless we do this
run: sed -i 's/^requires-python = .*/requires-python = ">=3.8"/' pyproject.toml
- name: Checkout typing_extensions
uses: actions/checkout@v3
with:
Expand Down

0 comments on commit df9e322

Please sign in to comment.