diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4c5c8d9..7698109 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -73,11 +73,11 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - name: "Download Artifacts" + - name: Download Artifacts uses: actions/download-artifact@v3.0.2 with: path: "./artifacts" - - name: "Publish Test Summary" + - name: Publish Test Summary uses: test-summary/action@v2 if: always() with: diff --git a/build.cake b/build.cake index 814a66c..fe7ecdc 100644 --- a/build.cake +++ b/build.cake @@ -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, @@ -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); \ No newline at end of file diff --git a/src/Atlas.Provider.Demo/Atlas.Provider.Demo.csproj b/src/Atlas.Provider.Demo/Atlas.Provider.Demo.csproj index 6ab4ad6..565d214 100644 --- a/src/Atlas.Provider.Demo/Atlas.Provider.Demo.csproj +++ b/src/Atlas.Provider.Demo/Atlas.Provider.Demo.csproj @@ -6,6 +6,7 @@ enable +