Skip to content

Commit 9080ccd

Browse files
committed
Added tunit to ci.yml
1 parent 38ecdda commit 9080ccd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,14 @@ jobs:
206206
dotnet restore ${{ github.workspace }}/TemplateTestMstest --source https://api.nuget.org/v3/index.json --source ${{ env.NUGET_DIRECTORY }}
207207
dotnet test ${{ github.workspace }}/TemplateTestMstest
208208
209+
- name: ✔ Verify TUnit template
210+
run: |
211+
dotnet new bunit --framework tunit --no-restore -o ${{ github.workspace }}/TemplateTestTUnit
212+
echo '<?xml version="1.0" encoding="utf-8"?><Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"></Project>' >> ${{ github.workspace }}/TemplateTestTUnit/Directory.Build.props
213+
echo '<Project><PropertyGroup><ManagePackageVersionsCentrally>false</ManagePackageVersionsCentrally></PropertyGroup></Project>' >> ${{ github.workspace }}/TemplateTestTUnit/Directory.Packages.props
214+
dotnet restore ${{ github.workspace }}/TemplateTestTUnit --source https://api.nuget.org/v3/index.json --source ${{ env.NUGET_DIRECTORY }}
215+
dotnet test ${{ github.workspace }}/TemplateTestTUnit
216+
209217
validate-docs:
210218
runs-on: ubuntu-latest
211219
steps:

0 commit comments

Comments
 (0)