ci: run tests in build matrix

pull/47/head
Robert Dailey 3 years ago
parent c37de7ef84
commit 37befcd85b

@ -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 }}

Loading…
Cancel
Save