|
27 | 27 | description: "Glob pattern(s) for examples to run (space-separated, relative to bindings/python/examples)." |
28 | 28 | required: false |
29 | 29 | type: string |
30 | | - default: "0[1-9]_*.py 1[0-9]_*.py 2[0-1]_*.py" |
| 30 | + default: "0[1-9]_*.py 1[0-9]_*.py 2[0-9]_*.py" |
31 | 31 | build-version: |
32 | 32 | description: "Override package version (PEP 440) for build.sh" |
33 | 33 | required: false |
|
39 | 39 | examples: |
40 | 40 | description: "Glob pattern(s) for examples to run (space-separated, relative to bindings/python/examples)." |
41 | 41 | required: false |
42 | | - default: "0[1-9]_*.py 1[0-9]_*.py 2[0-1]_*.py" |
| 42 | + default: "0[1-9]_*.py 1[0-9]_*.py 2[0-9]_*.py" |
43 | 43 |
|
44 | 44 | env: |
45 | | - EXAMPLES: ${{ inputs.examples || '0[1-9]_*.py 1[0-9]_*.py 2[0-1]_*.py' }} |
| 45 | + EXAMPLES: ${{ inputs.examples || '0[1-9]_*.py 1[0-9]_*.py 2[0-9]_*.py' }} |
| 46 | + |
| 47 | +# Note: Example 21 is intentionally excluded in CI. |
| 48 | +# It has shown repeated GitHub Actions instability across platforms despite |
| 49 | +# timeout increases, so the workflow skips it explicitly below. |
46 | 50 |
|
47 | 51 | permissions: |
48 | 52 | contents: read |
@@ -313,6 +317,14 @@ jobs: |
313 | 317 |
|
314 | 318 | # Set example-specific parameters and timeout |
315 | 319 | case "$example" in |
| 320 | + "21_server_mode_http_access.py") |
| 321 | + # Example 21 is kept in the repo for local/manual use, but is |
| 322 | + # excluded from GitHub Actions because it is CI-unstable. |
| 323 | + echo "⏭️ SKIPPED: $example (excluded from GitHub Actions due to CI instability)" | tee -a $results_file |
| 324 | + skipped=$((skipped + 1)) |
| 325 | + echo "" |
| 326 | + continue |
| 327 | + ;; |
316 | 328 | "04_csv_import_documents.py") |
317 | 329 | example_args="--dataset movielens-small --export" |
318 | 330 | example_name="$example (movielens-small dataset with export)" |
@@ -422,12 +434,6 @@ jobs: |
422 | 434 | timeout_duration=900 |
423 | 435 | example_jvm_args="" |
424 | 436 | ;; |
425 | | - "21_server_mode_http_access.py") |
426 | | - example_args="" |
427 | | - example_name="$example (server mode and HTTP access workflow)" |
428 | | - timeout_duration=900 |
429 | | - example_jvm_args="" |
430 | | - ;; |
431 | 437 | *) |
432 | 438 | example_args="" |
433 | 439 | example_name="$example" |
|
0 commit comments