Skip to content

Commit

Permalink
Added tunit to ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
linkdotnet committed Jan 21, 2025
1 parent 724dcd1 commit c9660d1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,14 @@ jobs:
dotnet restore ${{ github.workspace }}/TemplateTestMstest --source https://api.nuget.org/v3/index.json --source ${{ env.NUGET_DIRECTORY }}
dotnet test ${{ github.workspace }}/TemplateTestMstest
- name: ✔ Verify TUnit template
run: |
dotnet new bunit --framework tunit --no-restore -o ${{ github.workspace }}/TemplateTestTUnit
echo '<?xml version="1.0" encoding="utf-8"?><Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"></Project>' >> ${{ github.workspace }}/TemplateTestTUnit/Directory.Build.props
echo '<Project><PropertyGroup><ManagePackageVersionsCentrally>false</ManagePackageVersionsCentrally></PropertyGroup></Project>' >> ${{ github.workspace }}/TemplateTestTUnit/Directory.Packages.props
dotnet restore ${{ github.workspace }}/TemplateTestTUnit --source https://api.nuget.org/v3/index.json --source ${{ env.NUGET_DIRECTORY }}
dotnet test ${{ github.workspace }}/TemplateTestTUnit
validate-docs:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit c9660d1

Please sign in to comment.