fix: install scoop deps via bucket instead of URL #237
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main, develop] | |
| pull_request: | |
| branches: [main, develop] | |
| workflow_dispatch: | |
| jobs: | |
| test_pwsh: | |
| name: Unit and Integration Tests (Powershell 7.x) | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install and run Pester | |
| run: | | |
| Write-Output $PSVersionTable | |
| .\tests\bin\init.ps1 | |
| .\tests\bin\test.ps1 | |
| shell: pwsh | |
| - name: Publish Test Results | |
| uses: EnricoMi/publish-unit-test-result-action/windows@v2 | |
| if: always() | |
| with: | |
| files: | | |
| tests/out/TestResults.xml | |
| - name: Bootstrap and run pytest | |
| env: | |
| # Workaround to force usage of scoop apps installed in USERPROFILE. | |
| USER_PATH_FIRST: 1 | |
| run: | | |
| .\bootstrap.ps1 | |
| .\.venv\Scripts\pytest | |
| shell: pwsh | |
| test_powershell: | |
| name: Unit and Integration Tests (Powershell 5.x) | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Install and run Pester | |
| run: | | |
| Write-Output $PSVersionTable | |
| .\tests\bin\init.ps1 | |
| .\tests\bin\test.ps1 | |
| shell: powershell | |
| - name: Bootstrap and run pytest | |
| env: | |
| # Workaround to force usage of scoop apps installed in USERPROFILE. | |
| USER_PATH_FIRST: 1 | |
| run: | | |
| .\bootstrap.ps1 | |
| .\.venv\Scripts\pytest |