Skip to content

Commit

Permalink
Merge pull request #189 from theohbrothers/test/ci-re-add-test-jobs-f…
Browse files Browse the repository at this point in the history
…or-powershell-6-7.0-and-7.1

Test (ci): Re-add test jobs for PowerShell `6`, `7.0`, and `7.1`
  • Loading branch information
joeltimothyoh authored Sep 3, 2024
2 parents e88c576 + 316b40d commit e66504f
Showing 1 changed file with 72 additions and 72 deletions.
144 changes: 72 additions & 72 deletions .github/workflows/ci-master-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,77 +80,77 @@ jobs:
# Docker #
##########
# Get powershell tags: https://mcr.microsoft.com/v2/powershell/tags/list
# test-powershell-6_1-container:
# runs-on: ubuntu-latest
# container:
# image: theohbrothers/docker-powershell:6.1.3-ubuntu-18.04-git
# steps:
# - uses: actions/checkout@v1
# with:
# submodules: recursive
# - name: Powershell version
# run: |
# pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable'
# - name: Ignore git permissions
# run: |
# git config --global --add safe.directory "$( pwd )"
# - name: Test
# run: |
# pwsh -NoLogo -NonInteractive -NoProfile -Command '$VerbosePreference = "Continue"; ./test/test.ps1'
test-powershell-6_1-container:
runs-on: ubuntu-latest
container:
image: theohbrothers/docker-powershell:6.1.3-ubuntu-18.04-git
steps:
- uses: actions/checkout@v1
with:
submodules: recursive
- name: Powershell version
run: |
pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable'
- name: Ignore git permissions
run: |
git config --global --add safe.directory "$( pwd )"
- name: Test
run: |
pwsh -NoLogo -NonInteractive -NoProfile -Command '$VerbosePreference = "Continue"; ./test/test.ps1'
# test-powershell-6_2-container:
# runs-on: ubuntu-latest
# container:
# image: theohbrothers/docker-powershell:6.2.4-ubuntu-18.04-git
# steps:
# - uses: actions/checkout@v1
# with:
# submodules: recursive
# - name: Powershell version
# run: |
# pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable'
# - name: Ignore git permissions
# run: |
# git config --global --add safe.directory "$( pwd )"
# - name: Test
# run: |
# pwsh -NoLogo -NonInteractive -NoProfile -Command '$VerbosePreference = "Continue"; ./test/test.ps1'
test-powershell-6_2-container:
runs-on: ubuntu-latest
container:
image: theohbrothers/docker-powershell:6.2.4-ubuntu-18.04-git
steps:
- uses: actions/checkout@v1
with:
submodules: recursive
- name: Powershell version
run: |
pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable'
- name: Ignore git permissions
run: |
git config --global --add safe.directory "$( pwd )"
- name: Test
run: |
pwsh -NoLogo -NonInteractive -NoProfile -Command '$VerbosePreference = "Continue"; ./test/test.ps1'
# test-powershell-7_0-container:
# runs-on: ubuntu-latest
# container:
# image: theohbrothers/docker-powershell:7.0.3-ubuntu-18.04-git
# steps:
# - uses: actions/checkout@v1
# with:
# submodules: recursive
# - name: Powershell version
# run: |
# pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable'
# - name: Ignore git permissions
# run: |
# git config --global --add safe.directory "$( pwd )"
# - name: Test
# run: |
# pwsh -NoLogo -NonInteractive -NoProfile -Command '$VerbosePreference = "Continue"; ./test/test.ps1'
test-powershell-7_0-container:
runs-on: ubuntu-latest
container:
image: theohbrothers/docker-powershell:7.0.3-ubuntu-18.04-git
steps:
- uses: actions/checkout@v1
with:
submodules: recursive
- name: Powershell version
run: |
pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable'
- name: Ignore git permissions
run: |
git config --global --add safe.directory "$( pwd )"
- name: Test
run: |
pwsh -NoLogo -NonInteractive -NoProfile -Command '$VerbosePreference = "Continue"; ./test/test.ps1'
# test-powershell-7_1-container:
# runs-on: ubuntu-latest
# container:
# image: theohbrothers/docker-powershell:7.1.5-ubuntu-20.04-git
# steps:
# - uses: actions/checkout@v1
# with:
# submodules: recursive
# - name: Powershell version
# run: |
# pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable'
# - name: Ignore git permissions
# run: |
# git config --global --add safe.directory "$( pwd )"
# - name: Test
# run: |
# pwsh -NoLogo -NonInteractive -NoProfile -Command '$VerbosePreference = "Continue"; ./test/test.ps1'
test-powershell-7_1-container:
runs-on: ubuntu-latest
container:
image: theohbrothers/docker-powershell:7.1.5-ubuntu-20.04-git
steps:
- uses: actions/checkout@v1
with:
submodules: recursive
- name: Powershell version
run: |
pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable'
- name: Ignore git permissions
run: |
git config --global --add safe.directory "$( pwd )"
- name: Test
run: |
pwsh -NoLogo -NonInteractive -NoProfile -Command '$VerbosePreference = "Continue"; ./test/test.ps1'
test-powershell-7_2-container:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -213,10 +213,10 @@ jobs:
# - test-powershell-core-windows
- test-powershell-5_1-windows-2022
# - test-powershell-5_1-windows-2019
# - test-powershell-6_1-container
# - test-powershell-6_2-container
# - test-powershell-7_0-container
# - test-powershell-7_1-container
- test-powershell-6_1-container
- test-powershell-6_2-container
- test-powershell-7_0-container
- test-powershell-7_1-container
- test-powershell-7_2-container
- test-powershell-7_3-container
- test-powershell-7_4-container
Expand Down

0 comments on commit e66504f

Please sign in to comment.