Skip to content

Commit 55bc7f2

Browse files
committed
nick-fields/retry action now passes shell arguments
1 parent 4d83d84 commit 55bc7f2

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.github/workflows/conda-package.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ jobs:
182182
id: run_tests_linux
183183
uses: nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v3.0.0
184184
with:
185-
shell: bash
186185
timeout_minutes: 10
187186
max_attempts: ${{ env.RUN_TESTS_MAX_ATTEMPTS }}
188187
retry_on: any
@@ -319,13 +318,11 @@ jobs:
319318
id: run_tests_win
320319
uses: nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v3.0.0
321320
with:
322-
shell: cmd
323321
timeout_minutes: 15
324322
max_attempts: ${{ env.RUN_TESTS_MAX_ATTEMPTS }}
325323
retry_on: any
326-
command: >-
327-
mamba activate ${{ env.TEST_ENV_NAME }}
328-
& python -m pytest -ra --pyargs ${{ env.PACKAGE_NAME }}.tests
324+
command: |
325+
python -m pytest -ra --pyargs ${{ env.PACKAGE_NAME }}.tests
329326
330327
upload:
331328
name: Upload ['${{ matrix.os }}', python='${{ matrix.python }}']

.github/workflows/cron-run-tests.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,6 @@ jobs:
103103
. $CONDA/etc/profile.d/mamba.sh
104104
mamba activate ${{ env.TEST_ENV_NAME }}
105105
106-
echo "SYCL_CACHE_PERSISTENT=$SYCL_CACHE_PERSISTENT"
107-
108106
python -m pytest -ra --pyargs ${{ env.PACKAGE_NAME }}.tests
109107
env:
110108
SYCL_CACHE_PERSISTENT: 1

0 commit comments

Comments
 (0)