Skip to content

Commit bbce425

Browse files
upload test results as an artifact in CI
1 parent ebed6c0 commit bbce425

File tree

9 files changed

+1161
-84
lines changed

9 files changed

+1161
-84
lines changed

.github/workflows/nightly.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ jobs:
8383
windows_pre_build_command: . .github\workflows\scripts\windows\setup.ps1
8484
windows_build_command: Invoke-Program scripts\test_windows.ps1
8585
enable_windows_docker: false
86+
# Test Artifacts
87+
enable_upload_artifact: true
88+
artifact_name: "Test Results"
89+
artifact_path: "test-results/**/*"
8690

8791
tests_insiders:
8892
name: Test Insiders
@@ -114,3 +118,7 @@ jobs:
114118
windows_pre_build_command: . .github\workflows\scripts\windows\setup.ps1
115119
windows_build_command: Invoke-Program scripts\test_windows.ps1
116120
enable_windows_docker: false
121+
# Test Artifacts
122+
enable_upload_artifact: true
123+
artifact_name: "Test Results"
124+
artifact_path: "test-results/**/*"

.github/workflows/pull_request.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ jobs:
7373
windows_pre_build_command: . .github\workflows\scripts\windows\setup.ps1
7474
windows_build_command: Invoke-Program scripts\test_windows.ps1
7575
enable_windows_docker: false
76+
# Test Artifacts
77+
enable_upload_artifact: true
78+
artifact_name: "Test Results"
79+
artifact_path: "test-results/**/*"
7680

7781
soundness:
7882
name: Soundness

.vscode/launch.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@
5858
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/tsx",
5959
"runtimeArgs": ["${workspaceFolder}/scripts/update_swift_docc_render.ts"]
6060
},
61+
{
62+
"name": "Upload Test Results",
63+
"type": "node",
64+
"request": "launch",
65+
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/tsx",
66+
"runtimeArgs": ["${workspaceFolder}/scripts/upload_test_results.ts"]
67+
},
6168
{
6269
"name": "Preview Package",
6370
"type": "node",

0 commit comments

Comments
 (0)