Skip to content

Commit 7fb6932

Browse files
committed
ci: capture platform-tests error log on Windows
1 parent c9eb74e commit 7fb6932

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

‎.github/workflows/ci.yml‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,14 @@ jobs:
4848
run: npm run provision:xray
4949

5050
- name: Run Cross-Platform Platform Tests
51-
run: npx tsx tests/platform-tests.ts
51+
shell: bash
52+
run: |
53+
npx tsx tests/platform-tests.ts > platform-tests.log 2>&1 || {
54+
while IFS= read -r line; do
55+
echo "::error::$line"
56+
done < <(tail -n 40 platform-tests.log)
57+
exit 1
58+
}
5259
5360
- name: Run Acceptance & Security Test Scenarios
5461
run: npm test

0 commit comments

Comments
 (0)