-
Notifications
You must be signed in to change notification settings - Fork 4
35 lines (30 loc) · 1.05 KB
/
dotnet-core.yml
File metadata and controls
35 lines (30 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Build & Unit test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
windows:
strategy:
matrix:
configuration: [ Release ]
runs-on: windows-latest
env:
Solution_Name: BFF.DataVirtualizingCollection.sln # Replace with your solution name, i.e. MyWpfApp.sln.
Test_Project_Path: Tests.Unit\Tests.Unit.csproj # Replace with the path to your test project, i.e. MyWpfApp.Tests\MyWpfApp.Tests.csproj.
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.102
- run: set DOTNET_CLI_TELEMETRY_OPTOUT=1
- name: Install dependencies
run: dotnet restore .\BFF.DataVirtualizingCollection.sln
- name: Build
run: dotnet build .\BFF.DataVirtualizingCollection.sln --configuration Release --no-restore
- name: Test
run: dotnet test .\Tests.Unit\Tests.Unit.csproj --no-restore --verbosity normal