Persist mIRC #98
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: Tests | |
| on: | |
| pull_request: | |
| push: | |
| workflow_dispatch: | |
| jobs: | |
| test_shell: | |
| name: Test shell ${{ matrix.shell }} | |
| runs-on: windows-latest | |
| strategy: | |
| matrix: | |
| shell: | |
| - powershell | |
| - pwsh | |
| defaults: | |
| run: | |
| shell: ${{ matrix.shell }} | |
| steps: | |
| - name: Checkout Bucket | |
| uses: actions/checkout@v6.0.1 | |
| with: | |
| fetch-depth: 2 | |
| path: 'self_bucket' | |
| - name: Checkout Scoop | |
| uses: actions/checkout@v6.0.1 | |
| with: | |
| repository: ScoopInstaller/Scoop | |
| path: 'scoop_core' | |
| - name: Init and Test on ${{ matrix.shell }} | |
| run: | | |
| $env:SCOOP_HOME="$(Convert-Path '.\scoop_core')" | |
| .\scoop_core\test\bin\init.ps1 | |
| .\self_bucket\bin\test.ps1 |