Skip to content

Commit 147cd7c

Browse files
committed
first version
1 parent 45e29f1 commit 147cd7c

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/dotnet-deploy.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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

0 commit comments

Comments
 (0)