C#
This commit is contained in:
34
Testing_Ubuntu/.github/__workflows/zive.yml
vendored
Normal file
34
Testing_Ubuntu/.github/__workflows/zive.yml
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
name: zive
|
||||
|
||||
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 MSTest/zive/zive.csproj
|
||||
|
||||
|
||||
- name: Build solution
|
||||
run: dotnet build --configuration Release MSTest/zive/zive.csproj
|
||||
|
||||
- name: Test with NUnit
|
||||
run: dotnet test --configuration Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover MSTest/zive/zive.csproj
|
||||
|
||||
env:
|
||||
NUNIT_EXE: ./tools/nunit3-console.exe
|
Reference in New Issue
Block a user