Skip to content

Commit 5375c98

Browse files
Merge pull request #7 from microsoft/ci/add-unit-test-workflow
Add GitHub Actions CI for unit tests
2 parents 0b06701 + 38b418e commit 5375c98

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@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
14+
15+
- name: Setup .NET
16+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
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)