Skip to content

Commit d17592d

Browse files
committed
add gh workflow for tests
1 parent e0a9887 commit d17592d

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: codebase-health-checks
2+
run-name: Running tests
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
pull_request:
9+
10+
jobs:
11+
run-tests:
12+
runs-on: windows-latest
13+
timeout-minutes: 15
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Setup MSBuild
19+
uses: microsoft/setup-msbuild@v2
20+
21+
- name: Restore NuGet packages
22+
run: nuget restore Piktosaur.sln
23+
24+
- name: Build test project
25+
run: msbuild Piktosaur.Tests/Piktosaur.Tests.csproj /p:Platform=x64
26+
27+
- name: Run tests
28+
run: dotnet test Piktosaur.Tests/Piktosaur.Tests.csproj -p:Platform=x64 --no-build

0 commit comments

Comments
 (0)