ECS & Networking Refactoring (#170) #622
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: Unit tests | |
on: [push] | |
jobs: | |
run-tests: | |
runs-on: windows-latest | |
defaults: | |
run: | |
working-directory: ./CorgEng.Core | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: openrndr/[email protected] | |
- name: Setup MSBuild | |
uses: microsoft/setup-msbuild@v1 | |
- name: Setup NuGet | |
uses: NuGet/[email protected] | |
- name: Setup VSTest | |
uses: darenm/Setup-VSTest@v1 | |
- name: Navigate to Workspace | |
run: cd $GITHUB_WORKSPACE | |
- name: Nuget Restore Packages | |
run: nuget restore CorgEng.Core.sln | |
- name: Build Solution | |
run: | | |
msbuild.exe CorgEng.Core.sln /p:platform="ARM32" /p:configuration="Release" | |
- name: Run Tests | |
run: vstest.console.exe ..\CorgEng.Tests\bin\Release\net6.0\CorgEng.Tests.dll |