@@ -201,7 +201,7 @@ jobs:
201201 PYTENSOR_FLAGS : floatX=${{ matrix.floatx }}
202202 defaults :
203203 run :
204- shell : cmd /C call {0}
204+ shell : bash -leo pipefail {0}
205205 steps :
206206 - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
207207 with :
@@ -212,18 +212,16 @@ jobs:
212212 create-args : >-
213213 python=${{matrix.python-version}}
214214 environment-name : pymc-test
215- init-shell : cmd.exe
215+ init-shell : bash
216216 cache-environment : true
217217 - name : Install-pymc
218218 run : |
219219 pip install -e .
220220 python --version
221221 micromamba list
222222 - name : Run tests
223- # This job uses a cmd shell, therefore the environment variable syntax is different!
224- # The ">-" in the next line replaces newlines with spaces (see https://stackoverflow.com/a/66809682).
225- run : >-
226- python -m pytest -vv --cov=pymc --cov-report=xml --no-cov-on-fail --cov-report term --durations=50 %TEST_SUBSET%
223+ run : |
224+ python -m pytest -vv --cov=pymc --cov-report=xml --no-cov-on-fail --cov-report term --durations=50 $TEST_SUBSET
227225 - name : Upload coverage to Codecov
228226 uses : codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
229227 with :
@@ -357,7 +355,7 @@ jobs:
357355 PYTENSOR_FLAGS : floatX=${{ matrix.floatx }}
358356 defaults :
359357 run :
360- shell : cmd /C call {0}
358+ shell : bash -leo pipefail {0}
361359 steps :
362360 - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
363361 with :
@@ -368,18 +366,16 @@ jobs:
368366 create-args : >-
369367 python=${{matrix.python-version}}
370368 environment-name : pymc-test
371- init-shell : cmd.exe
369+ init-shell : bash
372370 cache-environment : true
373371 - name : Install-pymc
374372 run : |
375373 pip install -e .
376374 python --version
377375 micromamba list
378376 - name : Run tests
379- # This job uses a cmd shell, therefore the environment variable syntax is different!
380- # The ">-" in the next line replaces newlines with spaces (see https://stackoverflow.com/a/66809682).
381- run : >-
382- python -m pytest -vv --cov=pymc --cov-report=xml --no-cov-on-fail --cov-report term --durations=50 %TEST_SUBSET%
377+ run : |
378+ python -m pytest -vv --cov=pymc --cov-report=xml --no-cov-on-fail --cov-report term --durations=50 $TEST_SUBSET
383379 - name : Upload coverage to Codecov
384380 uses : codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
385381 with :
0 commit comments