From 37befcd85b519300efe3734cca0190478259bde4 Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Sat, 31 Jul 2021 12:04:18 -0500 Subject: [PATCH] ci: run tests in build matrix --- .github/workflows/build.yml | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7daf54b3..0a20917e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,26 +14,8 @@ env: dotnetVersion: 5.0.x jobs: - test: - name: Test - runs-on: windows-latest - steps: - - name: Checkout Source Code - uses: actions/checkout@v2 - with: - fetch-depth: 0 # avoid shallow clone for NBGV - - - name: Setup .NET Core SDK ${{ env.dotnetVersion }} - uses: actions/setup-dotnet@v1 - with: - dotnet-version: ${{ env.dotnetVersion }} - - - name: Test - run: dotnet test src --configuration Release --logger GitHubActions - build: name: Build - needs: test strategy: fail-fast: true matrix: @@ -61,6 +43,9 @@ jobs: with: dotnet-version: ${{ env.dotnetVersion }} + - name: Test + run: dotnet test src --configuration Release --logger GitHubActions + - name: Publish & Zip shell: pwsh run: ci/PublishAndZip.ps1 ${{ matrix.runtime }}