From 95fbe75ea2abf699d9507bf275994a461a084162 Mon Sep 17 00:00:00 2001 From: Muhammad Rehan Saeed Date: Thu, 17 Nov 2022 09:18:10 +0000 Subject: [PATCH] Workaround test-summary issue with .NET 4.7.2 --- build.cake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.cake b/build.cake index 499ad260..6e4c2b04 100644 --- a/build.cake +++ b/build.cake @@ -75,6 +75,9 @@ Task("Test") NoRestore = true, ResultsDirectory = artefactsDirectory, }); + // Workaround the test-summary GitHub Action not being able to handle empty JUnit test result XML files. + // https://github.com/test-summary/action/issues/19 + DeleteFiles($"./**/{project.GetFilenameWithoutExtension()}_NETFramework472.xml"); }); Task("Pack")