Skip to content

Commit d9d8dba

Browse files
lucianopazricardoV94
authored andcommitted
Run MacOS tests on version 15
1 parent fe5d98c commit d9d8dba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133
fast-compile: 0
134134
float32: 0
135135
part: "tests/link/pytorch"
136-
- os: macos-latest
136+
- os: macos-15
137137
python-version: "3.12"
138138
fast-compile: 0
139139
float32: 0
@@ -169,7 +169,7 @@ jobs:
169169
shell: micromamba-shell {0}
170170
run: |
171171
172-
if [[ $OS == "macos-latest" ]]; then
172+
if [[ $OS == "macos-15" ]]; then
173173
micromamba install --yes -q "python~=${PYTHON_VERSION}=*_cpython" numpy scipy pip graphviz cython pytest coverage pytest-cov pytest-benchmark pytest-mock libblas=*=*accelerate;
174174
else
175175
micromamba install --yes -q "python~=${PYTHON_VERSION}=*_cpython" mkl numpy scipy pip mkl-service graphviz cython pytest coverage pytest-cov pytest-benchmark pytest-mock;
@@ -182,7 +182,7 @@ jobs:
182182
pip install -e ./
183183
micromamba list && pip freeze
184184
python -c 'import pytensor; print(pytensor.config.__str__(print_doc=False))'
185-
if [[ $OS == "macos-latest" ]]; then
185+
if [[ $OS == "macos-15" ]]; then
186186
python -c 'import pytensor; assert pytensor.config.blas__ldflags.startswith("-framework Accelerate"), "Blas flags are not set to MacOS Accelerate"';
187187
else
188188
python -c 'import pytensor; assert pytensor.config.blas__ldflags != "", "Blas flags are empty"';

0 commit comments

Comments
 (0)