Merge pull request #94 from ArchipelagoMW/DataStorageHelperFixture.cs… #311
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: Build Solution | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '6.0.x' | |
- name: setup-msbuild | |
uses: microsoft/[email protected] | |
- name: Setup NuGet.exe for use with actions | |
uses: NuGet/[email protected] | |
- name: Restore NuGet Packages | |
run: nuget restore Archipelago.MultiClient.Net.sln | |
- name: Build Library | |
run: msbuild Archipelago.MultiClient.Net.sln /property:Configuration=Release | |
- name: Run Tests (.net 3.5) | |
run: dotnet test Archipelago.MultiClient.Net.Tests/bin/Release/net471/Archipelago.MultiClient.Net.Tests.dll -l "trx;LogFileName=TestResults_net35.trx" | |
- name: Run Tests (.net 4.0) | |
run: dotnet test Archipelago.MultiClient.Net.Tests/bin/Release/net472/Archipelago.MultiClient.Net.Tests.dll -l "trx;LogFileName=TestResults_net40.trx" | |
- name: Run Tests (.net 4.5) | |
run: dotnet test Archipelago.MultiClient.Net.Tests/bin/Release/net47/Archipelago.MultiClient.Net.Tests.dll -l "trx;LogFileName=TestResults_net45.trx" | |
- name: Run Tests (.net standard 2.0) | |
run: dotnet test Archipelago.MultiClient.Net.Tests/bin/Release/net48/Archipelago.MultiClient.Net.Tests.dll -l "trx;LogFileName=TestResults_standard20.trx" | |
- name: Upload Test Results | |
uses: actions/[email protected] | |
with: | |
name: TestResults | |
path: TestResults/*.trx | |