mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-26 23:13:07 +00:00
ci: report test counts and keep the run log clean
Upload functional test reports, JUnit XML and server logs on every run so a CI failure has something to read beyond aggregate counts. Print unit and functional test summaries, naming each failed functional test. Repackage the JUnit stack into the test mod jar without module descriptors so FML stops logging a LoaderException per jar while scanning the classpath, and silence the two ERROR lines that passing tests drive on purpose. Refresh the handoff counts and record which migration documents are deleted when the port closes.
This commit is contained in:
1 parent
6a28fff946
commit
78be94b0b3
8 files changed
+132
-7
No files matched your search
@@ -46,3 +46,16 @@ jobs:
|
||||
|
||||
- name: Run Forge functional tests
|
||||
run: ./gradlew --build-cache --stacktrace runFunctionalTestServer
|
||||
|
||||
# The server runs out of process; without this a failure leaves only the counts.
|
||||
- name: Upload functional test reports
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: forge-functional-test-reports
|
||||
path: |
|
||||
run/server/junit-out/
|
||||
run/server/logs/
|
||||
run/server/crash-reports/
|
||||
if-no-files-found: warn
|
||||
retention-days: 14
|
||||
Reference in new issue
Block a user