Skip to content

Commit

Permalink
Run MacOS tests on version 15
Browse files Browse the repository at this point in the history
  • Loading branch information
lucianopaz committed Nov 12, 2024
1 parent 857f25f commit 484bfdf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
fast-compile: 0
float32: 0
part: "tests/link/pytorch"
- os: macos-latest
- os: macos-15
python-version: "3.12"
fast-compile: 0
float32: 0
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
shell: micromamba-shell {0}
run: |
if [[ $OS == "macos-latest" ]]; then
if [[ $OS == "macos-15" ]]; then
micromamba install --yes -q "python~=${PYTHON_VERSION}=*_cpython" numpy scipy pip graphviz cython pytest coverage pytest-cov pytest-benchmark pytest-mock libblas=*=*accelerate;
else
micromamba install --yes -q "python~=${PYTHON_VERSION}=*_cpython" mkl numpy scipy pip mkl-service graphviz cython pytest coverage pytest-cov pytest-benchmark pytest-mock;
Expand All @@ -182,7 +182,7 @@ jobs:
pip install -e ./
micromamba list && pip freeze
python -c 'import pytensor; print(pytensor.config.__str__(print_doc=False))'
if [[ $OS == "macos-latest" ]]; then
if [[ $OS == "macos-15" ]]; then
python -c 'import pytensor; assert pytensor.config.blas__ldflags.startswith("-framework Accelerate"), "Blas flags are not set to MacOS Accelerate"';
else
python -c 'import pytensor; assert pytensor.config.blas__ldflags != "", "Blas flags are empty"';
Expand Down

0 comments on commit 484bfdf

Please sign in to comment.