Skip to content

Commit 310c60a

Browse files
committed
feat: run tests
1 parent abbd86c commit 310c60a

File tree

1 file changed

+17
-13
lines changed

1 file changed

+17
-13
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ name: MSBuild
77

88
on:
99
push:
10-
branches: [ "master" ]
10+
branches: ["master"]
1111
pull_request:
12-
branches: [ "master" ]
12+
branches: ["master"]
1313

1414
env:
1515
# Path to the solution file relative to the root of the project.
@@ -28,17 +28,21 @@ jobs:
2828
runs-on: windows-latest
2929

3030
steps:
31-
- uses: actions/checkout@v4
31+
- uses: actions/checkout@v4
3232

33-
- name: Add MSBuild to PATH
34-
uses: microsoft/[email protected]
33+
- name: Add MSBuild to PATH
34+
uses: microsoft/[email protected]
3535

36-
- name: Restore NuGet packages
37-
working-directory: ${{env.GITHUB_WORKSPACE}}
38-
run: nuget restore ${{env.SOLUTION_FILE_PATH}}
36+
- name: Restore NuGet packages
37+
working-directory: ${{env.GITHUB_WORKSPACE}}
38+
run: nuget restore ${{env.SOLUTION_FILE_PATH}}
3939

40-
- name: Build
41-
working-directory: ${{env.GITHUB_WORKSPACE}}
42-
# Add additional options to the MSBuild command line here (like platform or verbosity level).
43-
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
44-
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
40+
- name: Build
41+
working-directory: ${{env.GITHUB_WORKSPACE}}
42+
# Add additional options to the MSBuild command line here (like platform or verbosity level).
43+
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
44+
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
45+
46+
- name: Run Tests
47+
working-directory: ${{env.GITHUB_WORKSPACE}}
48+
run: dotnet test ${{env.SOLUTION_FILE_PATH}} --configuration ${{env.BUILD_CONFIGURATION}}

0 commit comments

Comments
 (0)