Skip to content

Commit 9ef426a

Browse files
Create pr_review.yml
Builds and tests a pull request.
1 parent f17f298 commit 9ef426a

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/pr_review.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Pull Requests Review
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v1
11+
12+
- name: Setup .NET Core
13+
uses: actions/setup-dotnet@v1
14+
15+
- name: Build
16+
run: dotnet build --configuration Release
17+
18+
- name: Test
19+
run: dotnet test --logger "trx;LogFileName=test-results.trx" || true
20+
21+
- name: Test Report
22+
uses: dorny/test-reporter@v1
23+
if: always()
24+
with:
25+
name: Tests
26+
path: "**/test-results.trx"
27+
reporter: dotnet-trx
28+
fail-on-error: true

0 commit comments

Comments
 (0)