From 47814a7e3dbd2643e3d283d47ae991dfdb7bcc66 Mon Sep 17 00:00:00 2001 From: AmirSa12 Date: Sun, 17 Aug 2025 23:07:29 +0330 Subject: [PATCH] update ci --- .github/workflows/ci.yml | 8 ++++---- tests/package-manager-integration.test.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d752d2f..46ea935 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -101,7 +101,7 @@ jobs: - name: Install shell dependencies (Windows) if: matrix.os == 'windows-latest' - shell: pwsh + shell: powershell run: | # Windows specific shell setup switch ("${{ matrix.shell }}") { @@ -113,8 +113,8 @@ jobs: Write-Host "Bash available via Git for Windows" } "powershell" { - # PowerShell is already installed on Windows - Write-Host "PowerShell already available" + # Install PowerShell Core for consistency across platforms + winget install --id Microsoft.Powershell --source winget --silent } default { Write-Host "Shell ${{ matrix.shell }} not supported on Windows" @@ -141,7 +141,7 @@ jobs: - name: Verify shell installation (Windows) if: matrix.os == 'windows-latest' - shell: pwsh + shell: powershell run: | switch ("${{ matrix.shell }}") { "bash" { diff --git a/tests/package-manager-integration.test.ts b/tests/package-manager-integration.test.ts index 8df9866..e22ec70 100644 --- a/tests/package-manager-integration.test.ts +++ b/tests/package-manager-integration.test.ts @@ -179,7 +179,7 @@ Then source the completion in your shell profile: break; } } - }); + }, 15000); // Increase timeout to 15 seconds for these intensive tests }); }); -- 2.51.2