|
61 | 61 | working-directory: examples/myworker |
62 | 62 | timeout-minutes: 10 |
63 | 63 | run: | |
64 | | - pytest -xsv tests |
| 64 | + pytest -xsv tests --reruns 3 --rerun-except AssertionError |
65 | 65 |
|
66 | 66 | range: |
67 | 67 | runs-on: ${{ matrix.os }} |
|
94 | 94 | working-directory: examples/range |
95 | 95 | timeout-minutes: 30 |
96 | 96 | run: | |
97 | | - pytest -xsv tests |
| 97 | + pytest -xsv tests --reruns 3 --rerun-except AssertionError |
98 | 98 |
|
99 | 99 | rabbitmq_management: |
100 | 100 | runs-on: ${{ matrix.os }} |
@@ -127,7 +127,7 @@ jobs: |
127 | 127 | working-directory: examples/rabbitmq_management |
128 | 128 | timeout-minutes: 10 |
129 | 129 | run: | |
130 | | - pytest -xsv tests |
| 130 | + pytest -xsv tests --reruns 3 --rerun-except AssertionError |
131 | 131 |
|
132 | 132 | django: |
133 | 133 | runs-on: ${{ matrix.os }} |
@@ -166,7 +166,7 @@ jobs: |
166 | 166 | timeout-minutes: 10 |
167 | 167 | run: | |
168 | 168 | export DJANGO_SETTINGS_MODULE=proj.settings |
169 | | - pytest -xsv tests |
| 169 | + pytest -xsv tests --reruns 3 --rerun-except AssertionError |
170 | 170 |
|
171 | 171 | myutils: |
172 | 172 | runs-on: ${{ matrix.os }} |
@@ -199,7 +199,7 @@ jobs: |
199 | 199 | working-directory: examples/myutils |
200 | 200 | timeout-minutes: 10 |
201 | 201 | run: | |
202 | | - pytest -xsv tests |
| 202 | + pytest -xsv tests --reruns 3 --rerun-except AssertionError |
203 | 203 |
|
204 | 204 | worker_pool: |
205 | 205 | runs-on: ${{ matrix.os }} |
@@ -232,7 +232,7 @@ jobs: |
232 | 232 | working-directory: examples/worker_pool |
233 | 233 | timeout-minutes: 10 |
234 | 234 | run: | |
235 | | - pytest -xsv tests |
| 235 | + pytest -xsv tests --reruns 3 --rerun-except AssertionError |
236 | 236 |
|
237 | 237 | hybrid_setup: |
238 | 238 | runs-on: ${{ matrix.os }} |
@@ -265,7 +265,7 @@ jobs: |
265 | 265 | working-directory: examples/hybrid_setup |
266 | 266 | timeout-minutes: 10 |
267 | 267 | run: | |
268 | | - pytest -xsv tests |
| 268 | + pytest -xsv tests --reruns 3 --rerun-except AssertionError |
269 | 269 |
|
270 | 270 | vhost: |
271 | 271 | runs-on: ${{ matrix.os }} |
@@ -298,4 +298,4 @@ jobs: |
298 | 298 | working-directory: examples/vhost |
299 | 299 | timeout-minutes: 10 |
300 | 300 | run: | |
301 | | - pytest -xsv tests |
| 301 | + pytest -xsv tests --reruns 3 --rerun-except AssertionError |
0 commit comments