@@ -52,16 +52,19 @@ jobs:
5252 run : |
5353 $tempPath = if ($IsWindows) { $env:TEMP } else { '/tmp' }
5454 $fbPath = Join-Path $tempPath 'firebird-${{ matrix.firebird-version }}'
55- New-FirebirdEnvironment -Version '${{ matrix.fb-semver }}' -Path $fbPath | Out-Null
55+ $fbEnv = New-FirebirdEnvironment -Version '${{ matrix.fb-semver }}' -Path $fbPath
56+ Write-Output $fbEnv
5657 Write-Output "FB_PATH=$fbPath" >> $env:GITHUB_ENV
58+ $global:LASTEXITCODE = 0
5759
5860 - name : Configure and start Firebird
5961 run : |
6062 # Configure RemoteAuxPort for Firebird events support
6163 $confPath = Join-Path $env:FB_PATH 'firebird.conf'
6264 Write-FirebirdConfiguration -Path $confPath -Configuration @{ RemoteAuxPort = 3051 }
6365 # Start Firebird server
64- Start-FirebirdInstance -Environment $env:FB_PATH | Out-Null
66+ $instance = Start-FirebirdInstance -Environment $env:FB_PATH
67+ Write-Output $instance
6568 # Wait for the server to be ready
6669 Write-Output "Waiting for Firebird to be ready..."
6770 for ($i = 1; $i -le 30; $i++) {
7679 Start-Sleep -Seconds 2
7780 }
7881 }
82+ $global:LASTEXITCODE = 0
7983
8084 - name : Find Firebird client library
8185 run : |
8993 }
9094 Write-Output "Found client library: $clientLib"
9195 Write-Output "FB_CLIENT_LIB=$clientLib" >> $env:GITHUB_ENV
96+ $global:LASTEXITCODE = 0
9297
9398 - name : Run tests
9499 run : hatch test -- --host=localhost --port=3050 "--client-lib=$env:FB_CLIENT_LIB" -v
97102
98103 - name : Stop Firebird instance
99104 if : always()
100- run : Get-FirebirdInstance | Stop-FirebirdInstance
105+ run : |
106+ Get-FirebirdInstance | Stop-FirebirdInstance
107+ $global:LASTEXITCODE = 0
101108
102109 build :
103110 needs : test
0 commit comments