Skip to content

Commit 95c591f

Browse files
committed
Test
1 parent 924f810 commit 95c591f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/test-adb-provider.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
adb wait-for-device
6262
echo "Android emulator is ready"
6363
adb devices
64-
cd ${{ inputs.module-path }} && pwsh -File - <<'PWSH'
64+
cat > /tmp/run-tests.ps1 <<'EOF'
6565
Write-Host 'Running Pester tests for ADB Provider...'
6666
$config = New-PesterConfiguration
6767
$config.Run.Path = 'Tests/Adb.Tests.ps1'
@@ -87,7 +87,8 @@ jobs:
8787
}
8888
8989
Write-Host 'All tests passed successfully!' -ForegroundColor Green
90-
PWSH
90+
EOF
91+
cd ${{ inputs.module-path }} && pwsh -File /tmp/run-tests.ps1
9192
9293
- name: Upload test results
9394
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)