diff --git a/.github/workflows/ci-master-pr.yml b/.github/workflows/ci-master-pr.yml index c26bd18..288c588 100644 --- a/.github/workflows/ci-master-pr.yml +++ b/.github/workflows/ci-master-pr.yml @@ -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 @@ -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