From 64ff97b486ebed992447a31af1dde9b4a5556c2e Mon Sep 17 00:00:00 2001 From: Doug Finke Date: Sun, 12 Jun 2022 14:30:16 -0400 Subject: [PATCH] fix yml --- .github/workflows/ci.yml | 52 +++++++++++++++++++++++++++------------- 1 file changed, 36 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d6d491f..71ac117 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,31 +7,51 @@ on: pull_request: jobs: - validate: + validate: + runs-on: ${{ matrix.os }} strategy: matrix: - # os: [windows-latest, ubuntu-latest, macos-latest] os: [windows-latest, ubuntu-latest] + # os: [windows-latest, ubuntu-latest] + # os: [windows-latest, ubuntu-latest, macos-latest] + # os: [ubuntu-latest] steps: - - uses: actions/checkout@v1 - - name: Run Tests + - uses: actions/checkout@v1 + - name: Run Continuous Integration shell: pwsh run : | - # ./ContinuousIntegration/ContinuousIntegration.ps1 - # sudo apt-get -y update && apt-get install -y --no-install-recommends libgdiplus libc6-dev - # cd ./__tests__ - # Invoke-Pester -Output Detailed if($PSVersionTable.Platform -eq 'Win32NT') { "start process" } elseif ($PSVersionTable.Platform -eq 'Unix') { "curl" } - # runs-on: windows-latest - # steps: - # - uses: actions/checkout@v1 - # - name: Run Tests on Windows - # shell: pwsh - # run : | - # cd ./__tests__ - # Invoke-Pester -Output Detailed \ No newline at end of file +# jobs: +# validate: +# strategy: +# matrix: +# # os: [windows-latest, ubuntu-latest, macos-latest] +# os: [windows-latest, ubuntu-latest] +# steps: +# - uses: actions/checkout@v1 +# - name: Run Tests +# shell: pwsh +# run : | +# # ./ContinuousIntegration/ContinuousIntegration.ps1 +# # sudo apt-get -y update && apt-get install -y --no-install-recommends libgdiplus libc6-dev +# # cd ./__tests__ +# # Invoke-Pester -Output Detailed +# if($PSVersionTable.Platform -eq 'Win32NT') { +# "start process" +# } elseif ($PSVersionTable.Platform -eq 'Unix') { +# "curl" +# } + +# # runs-on: windows-latest +# # steps: +# # - uses: actions/checkout@v1 +# # - name: Run Tests on Windows +# # shell: pwsh +# # run : | +# # cd ./__tests__ +# # Invoke-Pester -Output Detailed \ No newline at end of file