Skip to content

Commit

Permalink
CI: Add python 3.12.0-rc.2
Browse files Browse the repository at this point in the history
Install requirements with `--pre` in order to install prerelease numpy
1.26.0 as a test requirement.
  • Loading branch information
adrianeboyd committed Sep 15, 2023
1 parent 586a866 commit 272f7fe
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python_version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python_version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12.0-rc.2"]
include:
- os: windows-2019
python_version: "3.6"
Expand All @@ -42,7 +42,8 @@ jobs:
- name: Build sdist
run: |
python -m pip install -U build pip setuptools
python -m pip install -U -r requirements.txt
# TODO: remove --pre after release of numpy 1.26.0
python -m pip install -U -r requirements.txt --pre
python -m build --sdist
- name: Run mypy
Expand Down Expand Up @@ -74,7 +75,8 @@ jobs:
- name: Install test requirements
run: |
python -m pip install -U -r requirements.txt
# TODO: remove --pre after release of numpy 1.26.0
python -m pip install -U -r requirements.txt --pre
- name: Run tests
shell: bash
Expand Down

0 comments on commit 272f7fe

Please sign in to comment.