Skip to content

Commit ef37bd5

Browse files
committed
web nodejs fix + upload artifacts
1 parent 98cc0f3 commit ef37bd5

File tree

2 files changed

+36
-3
lines changed

2 files changed

+36
-3
lines changed

.github/workflows/test-scripts.yml

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
test-mac:
1616
name: Test mac/run.sh on macOS
1717
runs-on: macos-latest
18-
timeout-minutes: 60
18+
timeout-minutes: 15
1919
environment: BrowserStack
2020
steps:
2121
- name: Checkout code
@@ -148,9 +148,20 @@ jobs:
148148
149149
echo "✅ All integration tests completed"
150150
151+
- name: Upload BrowserStack Logs as Artifacts
152+
if: always()
153+
uses: actions/upload-artifact@v4
154+
with:
155+
name: browserstack-logs-macos
156+
path: |
157+
~/.browserstack/NOW/logs/
158+
/tmp/run_test_*.log
159+
retention-days: 30
160+
151161
test-windows:
152162
name: Test win/run.ps1 on Windows
153163
runs-on: windows-latest
164+
timeout-minutes: 15
154165
environment: BrowserStack
155166
steps:
156167
- name: Checkout code
@@ -276,10 +287,21 @@ jobs:
276287
277288
Write-Host "✅ All integration tests completed"
278289
290+
- name: Upload BrowserStack Logs as Artifacts
291+
if: always()
292+
uses: actions/upload-artifact@v4
293+
with:
294+
name: browserstack-logs-windows
295+
path: |
296+
C:\Users\runneradmin\.browserstack\NOW\logs\
297+
C:\Temp\run_test_*.log
298+
retention-days: 30
299+
if-no-files-found: ignore
300+
279301
test-linux:
280302
name: Test mac/run.sh on Linux
281303
runs-on: ubuntu-latest
282-
timeout-minutes: 60
304+
timeout-minutes: 15
283305
environment: BrowserStack
284306
steps:
285307
- name: Checkout code
@@ -402,6 +424,17 @@ jobs:
402424
403425
echo "✅ All integration tests completed"
404426
427+
- name: Upload BrowserStack Logs as Artifacts
428+
if: always()
429+
uses: actions/upload-artifact@v4
430+
with:
431+
name: browserstack-logs-linux
432+
path: |
433+
~/.browserstack/NOW/logs/
434+
/tmp/run_test_*.log
435+
retention-days: 30
436+
if-no-files-found: ignore
437+
405438
test-summary:
406439
name: Test Summary
407440
runs-on: ubuntu-latest

mac/env-setup-run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ setup_web_nodejs() {
310310
TARGET_DIR="$WORKSPACE_DIR/$PROJECT_FOLDER/$REPO"
311311
mkdir -p "$WORKSPACE_DIR/$PROJECT_FOLDER"
312312

313-
clone_repository $REPO $TARGET_DIR "test"
313+
clone_repository $REPO $TARGET_DIR
314314

315315

316316
# === 2️⃣ Install Dependencies ===

0 commit comments

Comments
 (0)