Merge pull request #196 from micahmo/release/v2.1.4 #341
Workflow file for this run
This file contains hidden or 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: Run Unit Tests | |
| concurrency: ${{ github.workflow }} | |
| on: [push, pull_request] | |
| jobs: | |
| restore_build_test: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # Setup: Need .NET Core for restore, MSBuild for build, and VSTest for test | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: 8.0.x | |
| - name: Setup MSBuild | |
| uses: microsoft/setup-msbuild@v2 | |
| - name: Setup VSTest | |
| uses: darenm/Setup-VSTest@v1.2 | |
| # Restore, build, test | |
| - name: Restore | |
| run: dotnet restore | |
| - name: Build | |
| run: msbuild | |
| - name: Test | |
| run: vstest.console WgServerforWindows.Tests\bin\Debug\net80-windows\WgServerforWindows.Tests.dll |