-
Notifications
You must be signed in to change notification settings - Fork 2
33 lines (25 loc) · 869 Bytes
/
dotnet.yml
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
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
# because of project specificity, we need to run net472, so choosing windows
runs-on: [windows-latest]
steps:
# check out repository under $GITHUB_WORKSPACE, so job can access it
- uses: actions/checkout@v2
# helps set up MSBuild into PATH for later usage
- name: setup MsBuild
uses: microsoft/setup-msbuild@v1.0.3
# install nuget.exe
- name: Setup NuGet.exe
uses: NuGet/setup-nuget@v1.0.5
- name: Restore Nuget Packages
run: nuget restore ReSharperPlugin.SharpCoachPlugin.sln
- name: Build the Solution
run: msbuild ReSharperPlugin.SharpCoachPlugin.sln
- name: Run Tests
run: dotnet test ReSharperPlugin.SharpCoachPlugin.sln --no-restore --verbosity normal