C#
This commit is contained in:
32
MSTest_Win/.github/__workflows/zive.yml
vendored
Normal file
32
MSTest_Win/.github/__workflows/zive.yml
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
name: zive mstest
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
env:
|
||||
MSTEST_VERSION: 2.2.10
|
||||
|
||||
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_Win/zive/zive.csproj
|
||||
|
||||
- name: Build solution
|
||||
run: dotnet build --configuration Release MSTest_Win/zive/zive.csproj
|
||||
|
||||
- name: Test with MSTest
|
||||
run: dotnet test --configuration Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover MSTest_Win/zive/zive.csproj
|
||||
|
||||
env:
|
||||
MSTEST_EXE: ./tools/mstest.exe
|
Reference in New Issue
Block a user