Skip to content

Commit

Permalink
chore: add Junit as test output
Browse files Browse the repository at this point in the history
  • Loading branch information
giautm committed Aug 1, 2024
1 parent 3a184ea commit d0ef507
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: "Download Artifacts"
- name: Download Artifacts
uses: actions/[email protected]
with:
path: "./artifacts"
- name: "Publish Test Summary"
- name: Publish Test Summary
uses: test-summary/action@v2
if: always()
with:
Expand Down
2 changes: 2 additions & 0 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ Task("Test")
{
$"trx;LogFileName={project.GetFilenameWithoutExtension()}.trx",
$"html;LogFileName={project.GetFilenameWithoutExtension()}.html",
$"junit;LogFileName={project.GetFilenameWithoutExtension()}.xml",
},
NoBuild = true,
NoRestore = true,
Expand Down Expand Up @@ -75,6 +76,7 @@ Task("Pack")
Task("Default")
.Description("Cleans, restores NuGet packages, builds the solution, runs unit tests and then creates NuGet packages.")
.IsDependentOn("Build")
.IsDependentOn("Test")
.IsDependentOn("Pack");

RunTarget(target);
1 change: 1 addition & 0 deletions src/Atlas.Provider.Demo/Atlas.Provider.Demo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="JunitXml.TestLogger" Version="4.0.254" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="6.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="6.0.0">
Expand Down

0 comments on commit d0ef507

Please sign in to comment.