File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -316,6 +316,7 @@ test:pypi_push_wheel:
316
316
needs : [test:pypi_test_wheel]
317
317
variables :
318
318
PUBLISH_DRYRUN : " yes"
319
+ timeout : 10m
319
320
script :
320
321
- >
321
322
if [ "$PUBLISH_DRYRUN" = "yes" ]; then
@@ -332,6 +333,12 @@ test:pypi_push_wheel:
332
333
for i in 1 2 3 4 5; do
333
334
twine upload --verbose -u $TWINE_USERNAME -p $TWINE_PASSWORT --repository $REPOSITORY wheelhouse/* && break || sleep $(( 60*2**i ));
334
335
done
336
+ rules :
337
+ - if : $UNIT_TEST == 'yes' && $CI_PIPELINE_SOURCE == 'merge_request_event' && $CI_MERGE_REQUEST_TARGET_BRANCH_PROTECTED != "true"
338
+ allow_failure : true
339
+ when : on_success
340
+ - when : on_success
341
+ allow_failure : true
335
342
336
343
test:gh_release :
337
344
extends : [.test_rules]
You can’t perform that action at this time.
0 commit comments