From 60ab03b73a2a528975dc04f5427950218cacf838 Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Wed, 15 Jan 2020 13:19:23 +1100 Subject: [PATCH] Update build-and-test.yml --- .github/workflows/build-and-test.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 723128d45e..dc67f6c38f 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -14,7 +14,7 @@ jobs: Build: strategy: matrix: - opts: + options: # - os: ubuntu-latest # framework: netcoreapp2.1 # runtime: linux-x64 @@ -32,7 +32,7 @@ jobs: runtime: win-x86 cover: False - runs-on: ${{ matrix.opts.os }} + runs-on: ${{ matrix.options.os }} steps: - uses: actions/checkout@v1 @@ -52,19 +52,19 @@ jobs: shell: pwsh run: | $DebugPreference = "Continue" - ./build.ps1 "${{matrix.opts.framework}}" + ./build.ps1 "${{matrix.options.framework}}" - name: Test no Coverage - if: matrix.opts.cover != 'True' + if: matrix.options.cover != 'True' run: dotnet test **/*tests/*.csproj -c Release -f "${{matrix.opt.framework}}" -r "${{matrix.opt.runtime}}" --no-build --filter Sandbox - name: Test with Coverage - if: matrix.opts.cover == 'True' + if: matrix.options.cover == 'True' run: dotnet test **/*tests/*.csproj -c Release -f "${{matrix.opt.framework}}" -r "${{matrix.opt.runtime}}" --no-build --filter Sandbox /p:CollectCoverage=true /p:CoverletOutputFormat=opencover - name: Update Codecov uses: iansu/codecov-action-node@v1.0.0 - if: matrix.opts.cover == 'True' + if: matrix.options.cover == 'True' with: token: ${{secrets.CODECOV_TOKEN}} file: "coverage.xml"