From 363d7a41cbd6648e29fc1bf8a674cd0e6a472840 Mon Sep 17 00:00:00 2001 From: SONIABHISHEK121 Date: Sat, 3 Aug 2024 19:59:56 +0530 Subject: [PATCH] test_pyi25.ps1 update Signed-off-by: SONIABHISHEK121 --- .github/workflows/windows-installer.yml | 10 ++++++---- tests/powershell/test_pyi25.ps1 | 4 +++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/windows-installer.yml b/.github/workflows/windows-installer.yml index e4b21569..d6761047 100644 --- a/.github/workflows/windows-installer.yml +++ b/.github/workflows/windows-installer.yml @@ -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 diff --git a/tests/powershell/test_pyi25.ps1 b/tests/powershell/test_pyi25.ps1 index 511646a7..bbd0483f 100644 --- a/tests/powershell/test_pyi25.ps1 +++ b/tests/powershell/test_pyi25.ps1 @@ -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