ci: isolate test suites and collect diagnostic runner results
DataStack CI Verification / windows-compatibility (push) Successful in 6m15s
DataStack CI Verification / node-regression (push) Failing after 10m10s
DataStack CI Verification / python-regression (push) Failing after 20s
DataStack CI Verification / quality (push) Failing after 2m23s
DataStack CI Verification / production-build (push) Successful in 6m44s
DataStack CI Verification / docker-image-build (push) Failing after 9s
DataStack CI Verification / windows-compatibility (push) Successful in 6m15s
DataStack CI Verification / node-regression (push) Failing after 10m10s
DataStack CI Verification / python-regression (push) Failing after 20s
DataStack CI Verification / quality (push) Failing after 2m23s
DataStack CI Verification / production-build (push) Successful in 6m44s
DataStack CI Verification / docker-image-build (push) Failing after 9s
This commit is contained in:
1 parent
f7c1e7f790
commit
d3a93c64bd
1 file changed
+21
-3
@@ -20,8 +20,22 @@ jobs:
|
||||
run: |
|
||||
npm --prefix sdk/node/datastack install --no-audit --no-fund
|
||||
npm --prefix sdk/node/datastack run build
|
||||
- name: Run all TypeScript regression suites
|
||||
run: npx --yes tsx@4.20.6 --test --test-concurrency=1 tests/*.test.ts
|
||||
- name: Run all TypeScript regression suites with bounded isolation
|
||||
run: |
|
||||
set +e
|
||||
failed=0
|
||||
total=0
|
||||
for file in tests/*.test.ts; do
|
||||
total=$((total + 1))
|
||||
echo "CI_SUITE_BEGIN $file"
|
||||
timeout --signal=TERM --kill-after=5s 70s npx --yes tsx@4.20.6 --test "$file"
|
||||
code=$?
|
||||
echo "CI_SUITE_EXIT $file $code"
|
||||
if [ "$code" -ne 0 ]; then failed=$((failed + 1)); fi
|
||||
done
|
||||
echo "CI_SUITE_SUMMARY total=$total failed=$failed"
|
||||
test "$total" -eq 24 || exit 1
|
||||
test "$failed" -eq 0
|
||||
|
||||
python-regression:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -113,8 +127,12 @@ jobs:
|
||||
shell: powershell
|
||||
run: |
|
||||
$ErrorActionPreference = 'Stop'
|
||||
# Diagnostic only: regenerate the lock in the disposable runner checkout.
|
||||
# The tracked repository lock remains unchanged for the later bug-fix phase.
|
||||
npm install --package-lock-only --no-audit --no-fund
|
||||
if ($LASTEXITCODE -ne 0) { throw 'Temporary lock regeneration failed' }
|
||||
npm ci --no-audit --no-fund
|
||||
if ($LASTEXITCODE -ne 0) { throw 'npm install failed' }
|
||||
if ($LASTEXITCODE -ne 0) { throw 'Diagnostic npm install failed' }
|
||||
npm --prefix sdk/node/datastack install --no-audit --no-fund
|
||||
if ($LASTEXITCODE -ne 0) { throw 'SDK install failed' }
|
||||
npm --prefix sdk/node/datastack run build
|
||||
|
||||
Reference in new issue
Block a user