nuget #120
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: Test | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Git checkout | |
| uses: actions/checkout@v2 | |
| - name: Setup .NET Core | |
| uses: actions/setup-dotnet@v1 | |
| with: | |
| dotnet-version: "9.0.x" | |
| - name: Install workload | |
| run: dotnet workload install android ios maccatalyst maui wasm-tools | |
| - name: Build with dotnet | |
| run: dotnet build ./Waikiki.Common.sln | |
| - name: Test with dotnet | |
| run: dotnet test ./Waikiki.Common.sln /p:CollectCoverage=true /p:CoverletOutputFormat=OpenCover | |
| - name: Upload code coverage | |
| uses: codecov/codecov-action@v1 | |
| with: | |
| token: 50b3d7d3-4e61-4caa-9489-5a6c2b3fc7fd | |
| file: ./Tests/coverage.opencover.xml |