Skip to content

Task/326

Task/326 #1073

Workflow file for this run

name: Unit Test
on:
pull_request:
branches: ["develop", "Release"]
jobs:
build:
name: Unit Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0'
- name: Build with dotnet
run: dotnet build --configuration Release
- name: Tests
run: dotnet test ./Giraf.UnitTest/ /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:ExcludeByFile=\"**/Migrations/**/*\"
- name: Upload coverage to Codecov
uses: codecov/[email protected]