Skip to content

Commit 64a93e5

Browse files
Add GitHub Actions CI workflow for unit tests
Runs dotnet test against tests/Reactor.Tests on every pull request and push to main. Uses windows-latest since the test project targets net9.0-windows10.0.22621.0 (WinUI). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 0b06701 commit 64a93e5

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main]
7+
8+
jobs:
9+
unit-tests:
10+
name: Unit Tests
11+
runs-on: windows-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Setup .NET
16+
uses: actions/setup-dotnet@v4
17+
with:
18+
dotnet-version: 9.0.x
19+
20+
- name: Restore
21+
run: dotnet restore tests/Reactor.Tests/Reactor.Tests.csproj
22+
23+
- name: Test
24+
run: dotnet test tests/Reactor.Tests/Reactor.Tests.csproj --no-restore --logger "console;verbosity=normal"

0 commit comments

Comments
 (0)