Skip to content

ubuntu

ubuntu #36

Workflow file for this run

name: CI
on:
- push
- pull_request
- workflow_dispatch
jobs:
Build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v4
- name: Install CodeCov
run: dotnet tool install -g codecov.tool
- name: Build
run: dotnet build
- name: Pack
run: dotnet pack
- name: Test
run: dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=OpenCover /p:CoverletOutput=./Coverage.xml
- name: Publish Coverage
uses: codecov/codecov-action@v3
with:
files: '**/*/Coverage.*.xml'