.Net_Test/Testing_Win/.github/__workflows/lukan.yml
Lukáš Kaňka 14d46cad1c C#
2023-08-22 20:28:19 +02:00

34 lines
702 B
YAML

name: Lukan
on:
push:
branches: [ main ]
env:
NUNIT_VERSION: 3.12.0
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x
- name: Restore dependencies
run: dotnet restore Nunit/Lukan/Lukan.csproj
- name: Build solution
run: dotnet build --configuration Release Nunit/Lukan/Lukan.csproj
- name: Test with NUnit
run: dotnet test --configuration Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover Nunit/Lukan/Lukan.csproj
env:
NUNIT_EXE: ./tools/nunit3-console.exe