Skip to content

Commit 0dac54d

Browse files
authored
Added "--reruns-delay 10" in the examples CI (#399)
1 parent 159ca66 commit 0dac54d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/examples.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
working-directory: examples/myworker
9595
timeout-minutes: 10
9696
run: |
97-
pytest -xsv tests --reruns 3 --rerun-except AssertionError
97+
pytest -xsv tests --reruns 3 --reruns-delay 10 --rerun-except AssertionError
9898
9999
range:
100100
runs-on: ${{ matrix.os }}
@@ -127,7 +127,7 @@ jobs:
127127
working-directory: examples/range
128128
timeout-minutes: 30
129129
run: |
130-
pytest -xsv tests --reruns 3 --rerun-except AssertionError
130+
pytest -xsv tests --reruns 3 --reruns-delay 10 --rerun-except AssertionError
131131
132132
rabbitmq_management:
133133
runs-on: ${{ matrix.os }}
@@ -160,7 +160,7 @@ jobs:
160160
working-directory: examples/rabbitmq_management
161161
timeout-minutes: 10
162162
run: |
163-
pytest -xsv tests --reruns 3 --rerun-except AssertionError
163+
pytest -xsv tests --reruns 3 --reruns-delay 10 --rerun-except AssertionError
164164
165165
django:
166166
runs-on: ${{ matrix.os }}
@@ -199,7 +199,7 @@ jobs:
199199
timeout-minutes: 10
200200
run: |
201201
export DJANGO_SETTINGS_MODULE=proj.settings
202-
pytest -xsv tests --reruns 3 --rerun-except AssertionError
202+
pytest -xsv tests --reruns 3 --reruns-delay 10 --rerun-except AssertionError
203203
204204
myutils:
205205
runs-on: ${{ matrix.os }}
@@ -232,7 +232,7 @@ jobs:
232232
working-directory: examples/myutils
233233
timeout-minutes: 10
234234
run: |
235-
pytest -xsv tests --reruns 3 --rerun-except AssertionError
235+
pytest -xsv tests --reruns 3 --reruns-delay 10 --rerun-except AssertionError
236236
237237
worker_pool:
238238
runs-on: ${{ matrix.os }}
@@ -265,7 +265,7 @@ jobs:
265265
working-directory: examples/worker_pool
266266
timeout-minutes: 10
267267
run: |
268-
pytest -xsv tests --reruns 3 --rerun-except AssertionError
268+
pytest -xsv tests --reruns 3 --reruns-delay 10 --rerun-except AssertionError
269269
270270
hybrid_setup:
271271
runs-on: ${{ matrix.os }}
@@ -298,7 +298,7 @@ jobs:
298298
working-directory: examples/hybrid_setup
299299
timeout-minutes: 10
300300
run: |
301-
pytest -xsv tests --reruns 5 --rerun-except AssertionError
301+
pytest -xsv tests --reruns 5 --reruns-delay 10 --rerun-except AssertionError
302302
303303
vhost:
304304
runs-on: ${{ matrix.os }}
@@ -331,4 +331,4 @@ jobs:
331331
working-directory: examples/vhost
332332
timeout-minutes: 10
333333
run: |
334-
pytest -xsv tests --reruns 3 --rerun-except AssertionError
334+
pytest -xsv tests --reruns 3 --reruns-delay 10 --rerun-except AssertionError

0 commit comments

Comments
 (0)