File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : .NET CI
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ paths : src/Application/**
7
+ pull_request :
8
+ branches : [ main ]
9
+ paths : src/Application/**
10
+ # Allows you to run this workflow manually from the Actions tab
11
+ workflow_dispatch :
12
+ jobs :
13
+ build :
14
+
15
+ runs-on : ubuntu-latest
16
+
17
+ steps :
18
+ - uses : actions/checkout@v3
19
+ - name : Setup .NET
20
+ uses : actions/setup-dotnet@v3
21
+
22
+ - name : Restore dependencies
23
+ run : dotnet restore ./src/Application/src/RazorPagesTestSample/RazorPagesTestSample.csproj
24
+ - name : Build
25
+ run : dotnet build --no-restore ./src/Application/src/RazorPagesTestSample/RazorPagesTestSample.csproj
26
+ - name : Test
27
+ 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