Skip to content

Commit 265beb9

Browse files
authored
Merge pull request #47 from dsarno/codex/fix-junit-report-generation-issue
2 parents 7922690 + cab5e92 commit 265beb9

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

.github/workflows/claude-nl-suite.yml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -248,19 +248,17 @@ jobs:
248248
mkdir -p reports
249249
if ! ls reports/junit-*.xml >/dev/null 2>&1; then
250250
echo "No JUnit found; writing fallback."
251-
{
252-
cat <<'XML'
253-
<?xml version="1.0" encoding="UTF-8"?>
254-
<testsuite name="UnityMCP.NL-T" tests="1" failures="1" time="0">
255-
<testcase classname="UnityMCP.NL" name="NL-Suite.Execution" time="0.0">
256-
<failure><![CDATA[
257-
Suite ended without producing reports. Likely mid-run tool failure (e.g., stale_file) or driver termination.
258-
See the 'Run Claude NL suite (single pass)' logs for details.
259-
]]></failure>
260-
</testcase>
261-
</testsuite>
262-
XML
263-
} > reports/junit-fallback.xml
251+
cat > reports/junit-fallback.xml <<'XML'
252+
<?xml version="1.0" encoding="UTF-8"?>
253+
<testsuite name="UnityMCP.NL-T" tests="1" failures="1" time="0">
254+
<testcase classname="UnityMCP.NL" name="NL-Suite.Execution" time="0.0">
255+
<failure><![CDATA[
256+
Suite ended without producing reports. Likely mid-run tool failure (e.g., stale_file) or driver termination.
257+
See the 'Run Claude NL suite (single pass)' logs for details.
258+
]]></failure>
259+
</testcase>
260+
</testsuite>
261+
XML
264262
fi
265263
266264
- name: Publish JUnit reports

0 commit comments

Comments
 (0)