Skip to content

Commit d0ffdc0

Browse files
committed
Added github workflow for running tests.
1 parent 8668b67 commit d0ffdc0

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/test.workflow.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
types: [opened, synchronize, reopened, ready_for_review]
9+
branches:
10+
- main
11+
workflow_dispatch:
12+
13+
jobs:
14+
test:
15+
runs-on: ubuntu-latest
16+
if: github.event.pull_request.draft == false
17+
18+
steps:
19+
- name: Check out repository
20+
uses: actions/checkout@v4
21+
22+
- name: Setup .NET Core
23+
uses: actions/setup-dotnet@v4
24+
with:
25+
dotnet-version: 8.0
26+
27+
- name: Install dependencies
28+
run: dotnet restore
29+
30+
- name: Test
31+
run: dotnet test

0 commit comments

Comments
 (0)