Skip to content

Commit

Permalink
debugging added
Browse files Browse the repository at this point in the history
Signed-off-by: SONIABHISHEK121 <[email protected]>
  • Loading branch information
ABHISHEKSONI121 committed Aug 3, 2024
1 parent 363d7a4 commit 78c906b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/windows-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,13 @@ jobs:
- name: Copy VBS files to dist folder
run: |
Copy-Item .\ejemplos\pyi25\pyi25.vbs .\dist\ -ErrorAction SilentlyContinue
Copy-Item .\ejemplos\pyqr\pyqr.vbs .\dist\ -ErrorAction SilentlyContinue
Copy-Item .\ejemplos\factura_electronica.vbs .\dist\ -ErrorAction SilentlyContinue
Copy-Item .\ejemplos\remito_electronico_carnico.vbs .\dist\ -ErrorAction SilentlyContinue
Copy-Item .\ejemplos\pyi25\pyi25.vbs .\dist\ -ErrorAction Continue -ErrorVariable copyErrors
if ($copyErrors) {
Write-Host "Error copying pyi25.vbs: $copyErrors"
}
Copy-Item .\ejemplos\pyqr\pyqr.vbs .\dist\ -ErrorAction Continue
Copy-Item .\ejemplos\factura_electronica.vbs .\dist\ -ErrorAction Continue
Copy-Item .\ejemplos\remito_electronico_carnico.vbs .\dist\ -ErrorAction Continue
Get-ChildItem .\dist
- name: Test pyi25.vbs
Expand Down
5 changes: 5 additions & 0 deletions tests/powershell/test_pyi25.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,8 @@ if (-not (Test-Path ".\dist\barras.png")) {
Write-Host "Current directory: $(Get-Location)"
Write-Host "Contents of dist folder:"
Get-ChildItem .\dist
if (-not (Test-Path ".\dist\pyi25.vbs")) {
Write-Error "pyi25.vbs not found in dist folder. Ensure all dependencies are installed."
exit 1
}

0 comments on commit 78c906b

Please sign in to comment.