Skip to content

Commit f9094f5

Browse files
committed
Debug stuff
1 parent 30eec2b commit f9094f5

File tree

2 files changed

+23
-7
lines changed

2 files changed

+23
-7
lines changed

.github/workflows/validate.yml

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,26 @@ jobs:
122122
run: |
123123
.\test\e2e\Tests\build-e2e-test.ps1
124124
125-
- name: Build
126-
working-directory: test/e2e/Tests
127-
run: dotnet build
128-
129-
- name: Run E2E tests
130-
working-directory: test/e2e/Tests
131-
run: dotnet test --filter AzureStorage!=Skip
125+
- name: Startup host
126+
shell: pwsh
127+
run: |
128+
cd test\e2e\Apps\BasicPython
129+
$job = Start-Job -ScriptBlock { func host start }
130+
Start-Sleep -Seconds 20
131+
if ($job.State -eq 'Running') {
132+
Stop-Job -Job $job
133+
}
134+
$job_output = Receive-Job -Job $job
135+
Write-Host "Job output: $job_output"
136+
137+
138+
# - name: Build
139+
# working-directory: test/e2e/Tests
140+
# run: dotnet build
141+
142+
# - name: Run E2E tests
143+
# working-directory: test/e2e/Tests
144+
# run: dotnet test --filter AzureStorage!=Skip
132145

133146
e2e-mssql:
134147
runs-on: ubuntu-latest

test/e2e/Tests/build-e2e-test.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ if (!$SkipBuild)
141141
if (!(Test-Path $E2EAppVenvDirectory)) {
142142
Write-Host "Creating virtual environment for Python app"
143143
python -m venv ".venv"
144+
145+
Get-ChildItem | Format-Table -AutoSize
146+
144147
}
145148
else {
146149
Write-Host "Virtual environment already exists at $E2EAppVenvDirectory"

0 commit comments

Comments
 (0)