Skip to content

Commit e000cab

Browse files
committed
Fix test
1 parent 9d0d13d commit e000cab

1 file changed

Lines changed: 4 additions & 10 deletions

File tree

.github/workflows/tests.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,12 @@ jobs:
2929
os: [ubuntu-latest, windows-latest, macos-latest]
3030
python_version: ["3.12"]
3131
include:
32-
- os: macos-13
33-
python_version: "3.10"
32+
- os: macos-latest
33+
python_version: "3.11"
3434
- os: windows-latest
3535
python_version: "3.11"
3636
- os: ubuntu-latest
3737
python_version: "3.12"
38-
- os: macos-13
39-
python_version: "3.12"
4038
- os: windows-latest
4139
python_version: "3.12"
4240

@@ -61,7 +59,7 @@ jobs:
6159
python -m build --sdist
6260
6361
- name: Run pyright
64-
if: env.RUN_PYRIGHT == 'true' && matrix.python_version != '3.6'
62+
if: env.RUN_PYRIGHT == 'true'
6563
shell: bash
6664
run: |
6765
python -m pyright $MODULE_NAME
@@ -77,8 +75,7 @@ jobs:
7775
python -m pip freeze --exclude pywin32 --exclude torch > installed.txt
7876
python -m pip uninstall -y -r installed.txt
7977
80-
- name: Install newest torch for python 3.7+
81-
if: matrix.python_version != '3.6'
78+
- name: Install newest torch
8279
run: |
8380
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu --force-reinstall
8481
@@ -92,8 +89,5 @@ jobs:
9289
shell: bash
9390
run: |
9491
python -m pip install -r requirements.txt --force-reinstall
95-
# The version of pytorch being used here requires numpy v2, but because of the way we're doing the
96-
# requirements installation here it's not being resolved that way. So just install numpy 1 here.
97-
python -m pip install "numpy<2"
9892
python -m pytest --pyargs $MODULE_NAME --cov=$MODULE_NAME
9993

0 commit comments

Comments
 (0)