Skip to content

Commit 8dd04ba

Browse files
Added GitHub workflow for running tests
1 parent f2ab5fb commit 8dd04ba

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/test.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Run all tests
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
workflow_dispatch:
9+
10+
env:
11+
APPLITOOLS_API_KEY: ${{ secrets.APPLITOOLS_API_KEY }}
12+
HEADLESS: true
13+
14+
jobs:
15+
test:
16+
runs-on: windows-latest
17+
18+
steps:
19+
- name: Check out code
20+
uses: actions/checkout@v3
21+
22+
- name: Set up .NET
23+
uses: actions/setup-dotnet@v3
24+
with:
25+
dotnet-version: '7.0.x'
26+
27+
- name: Build the example project
28+
run: dotnet build
29+
30+
- name: Run the example tests
31+
run: dotnet test --no-build --verbosity normal

0 commit comments

Comments
 (0)