Skip to content

Commit 1518fba

Browse files
Merge pull request #194 from theohbrothers/enhancement/ci-add-test-job-for-powershell-7.5
Test (ci): Add test job for PowerShell `7.5`
2 parents d947efb + d71d045 commit 1518fba

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/ci-master-pr.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,24 @@ jobs:
206206
run: |
207207
pwsh -NoLogo -NonInteractive -NoProfile -Command '$VerbosePreference = "Continue"; ./test/test.ps1'
208208
209+
test-powershell-7_5-container:
210+
runs-on: ubuntu-latest
211+
container:
212+
image: theohbrothers/docker-powershell:7.5-ubuntu-24.04-git
213+
steps:
214+
- uses: actions/checkout@v1
215+
with:
216+
submodules: recursive
217+
- name: Powershell version
218+
run: |
219+
pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable'
220+
- name: Ignore git permissions
221+
run: |
222+
git config --global --add safe.directory "$( pwd )"
223+
- name: Test
224+
run: |
225+
pwsh -NoLogo -NonInteractive -NoProfile -Command '$VerbosePreference = "Continue"; ./test/test.ps1'
226+
209227
release:
210228
needs:
211229
- test-powershell-core-linux
@@ -220,6 +238,7 @@ jobs:
220238
- test-powershell-7_2-container
221239
- test-powershell-7_3-container
222240
- test-powershell-7_4-container
241+
- test-powershell-7_5-container
223242
runs-on: ubuntu-latest
224243
container:
225244
image: theohbrothers/docker-powershell:7.2-ubuntu-22.04-git

0 commit comments

Comments
 (0)