-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (33 loc) · 834 Bytes
/
ci.yml
File metadata and controls
35 lines (33 loc) · 834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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@v5.0.1
with:
fetch-depth: 2
path: 'self_bucket'
- name: Checkout Scoop
uses: actions/checkout@v5.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