Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit e68813c

Browse files
authored
Run some unit tests
1 parent 76c670c commit e68813c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,16 @@ jobs:
3232
- uses: aarnott/[email protected]
3333
id: nbgv
3434

35-
- name: Add msbuild to PATH
35+
- name: Add MSBuild to PATH
3636
uses: microsoft/[email protected]
3737

3838
- uses: nuget/setup-nuget@v1
3939
with:
4040
nuget-version: '5.x'
4141

42+
- name: Add VSTest to PATH
43+
uses: darenm/Setup-VSTest@v1
44+
4245
- name: NuGet restore ${{ env.githubvsSolution }}
4346
run: nuget restore ${{ env.githubvsSolution }}
4447

@@ -51,3 +54,7 @@ jobs:
5154
with:
5255
name: GitHubVS-${{ steps.nbgv.outputs.SemVer2 }}
5356
path: ${{ env.vsixContainer }}
57+
58+
# We need to run '**\bin\**\*Tests.dll'
59+
- name: Run unit tests
60+
run: vstest.console test\GitHub.InlineReviews.UnitTests\obj\Release\net46\GitHub.InlineReviews.UnitTests.dll /Settings:${{ github.workspace }}\test\test.runsettings

0 commit comments

Comments
 (0)