Bump NBGV version (#376) #133
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'main tests status' | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build-and-test: | |
name: 'Build and test' | |
runs-on: windows-latest | |
steps: | |
- name: Checkout files | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '8.x' | |
- name: Setup NBGV | |
uses: dotnet/nbgv@v0.4 | |
with: | |
toolVersion: 3.6.143 | |
- name: Restore dependencies | |
run: dotnet restore "${{ github.workspace }}/src/SDK.sln" | |
- name: Build solution | |
run: dotnet build "${{ github.workspace }}/src/SDK.sln" --no-restore -c Release | |
- name: Run tests | |
run: dotnet test "${{ github.workspace }}/src/SDK.sln" -c Release --filter "TestCategory~Unit|TestCategory~Integration|TestCategory~Functional" --no-build --verbosity normal |