Skip to content

Commit

Permalink
Merge pull request #187 from theohbrothers/enhancement/ci-optimize-nu…
Browse files Browse the repository at this point in the history
…mber-of-test-jobs-1

Enhancement (ci): Optimize number of test jobs
  • Loading branch information
joeltimothyoh authored Sep 3, 2024
2 parents 3581dd1 + 3934a7c commit 3850d94
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/ci-master-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,23 +152,23 @@ jobs:
# run: |
# pwsh -NoLogo -NonInteractive -NoProfile -Command '$VerbosePreference = "Continue"; ./test/test.ps1'

# test-powershell-7_2-container:
# runs-on: ubuntu-latest
# container:
# image: theohbrothers/docker-powershell:7.2-ubuntu-22.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
container:
image: theohbrothers/docker-powershell:7.2-ubuntu-22.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_3-container:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -217,7 +217,7 @@ jobs:
# - test-powershell-6_2-container
# - test-powershell-7_0-container
# - test-powershell-7_1-container
# - test-powershell-7_2-container
- test-powershell-7_2-container
- test-powershell-7_3-container
- test-powershell-7_4-container
runs-on: ubuntu-latest
Expand Down

0 comments on commit 3850d94

Please sign in to comment.