File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
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
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
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
You can’t perform that action at this time.
0 commit comments