File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -377,10 +377,22 @@ jobs:
377377 TEMPORAL_CLIENT_CLOUD_API_VERSION : v0.19.1
378378
379379 - name : Run tests against Temporal Cloud
380+ # Fail a hung suite while leaving job-level time for namespace cleanup and log upload.
381+ timeout-minutes : 20
380382 run : |
381- pnpm --dir packages/test exec ava --tap \
382- --match 'Uses default activity if no matching activity exists' \
383- ./lib/test-default-activity.js | tee cloud-integration.tap
383+ # Generate one compiled Cloud-eligible test path per line.
384+ cloud_test_list="$RUNNER_TEMP/cloud-test-files.txt"
385+ ./node_modules/.bin/tsx scripts/cloud-test-inventory.ts --cloud-files > "$cloud_test_list"
386+ readarray -t cloud_test_files < "$cloud_test_list"
387+
388+ echo "::group::Cloud test files (${#cloud_test_files[@]})"
389+ for test_file in "${cloud_test_files[@]}"; do
390+ echo " $test_file"
391+ done
392+ echo "::endgroup::"
393+
394+ # Quoted [@] passes each path to AVA as a separate argument.
395+ pnpm --dir packages/test exec ava --tap "${cloud_test_files[@]}" | tee cloud-integration.tap
384396 env :
385397 RUN_INTEGRATION_TESTS : true
386398 REUSE_V8_CONTEXT : true
You can’t perform that action at this time.
0 commit comments