Skip to content

Commit 4510f03

Browse files
committed
Add failed assertion message in CI
1 parent 833a3e8 commit 4510f03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123
pip install -e ./
124124
mamba list && pip freeze
125125
python -c 'import pytensor; print(pytensor.config.__str__(print_doc=False))'
126-
python -c 'import pytensor; assert(pytensor.config.blas__ldflags != "")'
126+
python -c 'import pytensor; assert pytensor.config.blas__ldflags != "", "Blas flags are empty"'
127127
env:
128128
PYTHON_VERSION: ${{ matrix.python-version }}
129129
INSTALL_NUMBA: ${{ matrix.install-numba }}
@@ -175,7 +175,7 @@ jobs:
175175
pip install -e ./
176176
mamba list && pip freeze
177177
python -c 'import pytensor; print(pytensor.config.__str__(print_doc=False))'
178-
python -c 'import pytensor; assert(pytensor.config.blas__ldflags != "")'
178+
python -c 'import pytensor; assert pytensor.config.blas__ldflags != "", "Blas flags are empty"'
179179
env:
180180
PYTHON_VERSION: 3.9
181181
- name: Download previous benchmark data

0 commit comments

Comments
 (0)