Skip to content

Commit 682a2b8

Browse files
committed
Add debugging output to CI test execution steps
Add diagnostic commands before running test scripts: - macOS/Linux: Show pwd, ls scripts directory, bash location/version - Windows: Show current location, list scripts directory, pwsh location/version This will help diagnose exit code 127 (command not found) errors on macOS and exit code 1 errors on Windows.
1 parent e23a88e commit 682a2b8

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ jobs:
3939
4040
- name: Run Vader test suite
4141
run: |
42+
pwd
43+
ls -la scripts/cicd/
44+
which bash
45+
bash --version
4246
bash scripts/cicd/run_vader_tests_direct.sh
4347
4448
- name: Upload test results
@@ -96,6 +100,10 @@ jobs:
96100
97101
- name: Run Vader test suite
98102
run: |
103+
pwd
104+
ls -la scripts/cicd/
105+
which bash
106+
bash --version
99107
bash scripts/cicd/run_vader_tests_direct.sh
100108
101109
- name: Upload test results
@@ -188,6 +196,10 @@ jobs:
188196
- name: Run Vader test suite
189197
shell: pwsh
190198
run: |
199+
Get-Location
200+
Get-ChildItem scripts\cicd\
201+
Get-Command pwsh | Select-Object -ExpandProperty Source
202+
pwsh --version
191203
pwsh scripts/cicd/run_vader_tests_windows.ps1
192204
193205
- name: Upload test results

0 commit comments

Comments
 (0)