Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
120 changes: 60 additions & 60 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,60 +1,60 @@
name: Tests

on:
pull_request:
push:
branches:
- "main"
workflow_dispatch:

jobs:
test_powershell:
name: WindowsPowerShell
runs-on: windows-latest
steps:
- name: Checkout Bucket
uses: actions/checkout@v4
with:
fetch-depth: 2
path: "my_bucket"
- name: Checkout Scoop
uses: actions/checkout@v4
with:
repository: ScoopInstaller/Scoop
ref: develop
path: "scoop_core"
- name: Init Test Suite
uses: potatoqualitee/psmodulecache@v6.2.1
with:
modules-to-cache: PSScriptAnalyzer, BuildHelpers, Pester:5.7.1
shell: powershell
- name: Test
shell: powershell
run: |
$env:SCOOP_HOME="$(Resolve-Path '.\scoop_core')"
.\my_bucket\bin\test.ps1
test_pwsh:
name: PowerShell
runs-on: windows-latest
steps:
- name: Checkout Bucket
uses: actions/checkout@v4
with:
fetch-depth: 2
path: "my_bucket"
- name: Checkout Scoop
uses: actions/checkout@v4
with:
repository: ScoopInstaller/Scoop
ref: develop
path: "scoop_core"
- name: Init Test Suite
uses: potatoqualitee/psmodulecache@v6.2.1
with:
modules-to-cache: PSScriptAnalyzer, BuildHelpers, Pester:5.7.1
shell: pwsh
- name: Test
shell: pwsh
run: |
$env:SCOOP_HOME="$(Resolve-Path '.\scoop_core')"
.\my_bucket\bin\test.ps1
name: Tests
on:
pull_request:
push:
branches:
- "main"
workflow_dispatch:
jobs:
test_powershell:
name: WindowsPowerShell
runs-on: windows-latest
steps:
- name: Checkout Bucket
uses: actions/checkout@v5
with:
fetch-depth: 2
path: "my_bucket"
- name: Checkout Scoop
uses: actions/checkout@v5
with:
repository: ScoopInstaller/Scoop
ref: develop
path: "scoop_core"
- name: Init Test Suite
uses: potatoqualitee/psmodulecache@v6.2.1
with:
modules-to-cache: PSScriptAnalyzer, BuildHelpers, Pester:5.7.1
shell: powershell
- name: Test
shell: powershell
run: |
$env:SCOOP_HOME="$(Resolve-Path '.\scoop_core')"
.\my_bucket\bin\test.ps1
test_pwsh:
name: PowerShell
runs-on: windows-latest
steps:
- name: Checkout Bucket
uses: actions/checkout@v5
with:
fetch-depth: 2
path: "my_bucket"
- name: Checkout Scoop
uses: actions/checkout@v5
with:
repository: ScoopInstaller/Scoop
ref: develop
path: "scoop_core"
- name: Init Test Suite
uses: potatoqualitee/psmodulecache@v6.2.1
with:
modules-to-cache: PSScriptAnalyzer, BuildHelpers, Pester:5.7.1
shell: pwsh
- name: Test
shell: pwsh
run: |
$env:SCOOP_HOME="$(Resolve-Path '.\scoop_core')"
.\my_bucket\bin\test.ps1
Loading