File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will build a .NET project
2
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
3
+
4
+ name : .NET CI
5
+
6
+ on :
7
+ push :
8
+ branches : [ main ]
9
+ paths : src/Application/**
10
+ pull_request :
11
+ branches : [ main ]
12
+ paths : src/Application/**
13
+ # Allows you to run this workflow manually from the Actions tab
14
+ workflow_dispatch :
15
+ jobs :
16
+ build :
17
+
18
+ runs-on : ubuntu-latest
19
+
20
+ steps :
21
+ - uses : actions/checkout@v3
22
+ - name : Setup .NET
23
+ uses : actions/setup-dotnet@v3
24
+
25
+ - name : Restore dependencies
26
+ run : dotnet restore ./src/Application/src/RazorPagesTestSample/RazorPagesTestSample.csproj
27
+ - name : Build
28
+ run : dotnet build --no-restore ./src/Application/src/RazorPagesTestSample/RazorPagesTestSample.csproj
29
+ - name : Test
30
+ run : dotnet test --no-build --verbosity normal ./src/Application/tests/RazorPagesTestSample.Tests/RazorPagesTestSample.Tests.csproj
You can’t perform that action at this time.
0 commit comments