Skip to content

nuget

nuget #120

Workflow file for this run

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