Skip to content

Commit

Permalink
test_pyi25.ps1 update
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 30f60f7 commit 363d7a4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/windows-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,12 @@ jobs:
- name: Copy VBS files to dist folder
run: |
Get-ChildItem -Recurse .\ejemplos | Where-Object {$_.Name -like "*.vbs"} | ForEach-Object {
Copy-Item $_.FullName .\dist\ -ErrorAction Stop
}
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
Get-ChildItem .\dist
- name: Test pyi25.vbs
run: |
.\tests\test_pyi25.ps1
Expand Down
4 changes: 3 additions & 1 deletion tests/powershell/test_pyi25.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,6 @@ if (-not (Test-Path ".\dist\barras.png")) {
exit 1
}

Write-Host "All tests for pyi25.vbs passed successfully"
Write-Host "Current directory: $(Get-Location)"
Write-Host "Contents of dist folder:"
Get-ChildItem .\dist

0 comments on commit 363d7a4

Please sign in to comment.