This is an automated email from the ASF dual-hosted git repository.
mbien pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/master by this push:
new 8bfbefe0d3 implement test-summary action for junit test reports.
new d2187468f8 Merge pull request #4328 from mbien/ci-test-summary
8bfbefe0d3 is described below
commit 8bfbefe0d3721ed697177251d65da5d208288fad
Author: Michael Bien <[email protected]>
AuthorDate: Mon Jul 4 05:31:07 2022 +0200
implement test-summary action for junit test reports.
- test-summary looks for test failures in junit reports and displays
those in the job summary section on github
- the action ignores errors, so we keep the log upload step for now
---
.github/workflows/main.yml | 22 +++++++++++++++++++++-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 97926875f2..2ecf1e51c4 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -111,7 +111,15 @@ jobs:
- name: Commit Validation tests
run: ant -Dcluster.config=release commit-validation
- - name: Upload Build
+ - name: Create Test Summary
+ uses: test-summary/action@v1
+ if: failure()
+ with:
+ paths: "./nbbuild/build/test/commit-validation/results/*.xml"
+
+# the test-summary action above is currently only looking for failures and
ignores errors,
+# this step can be removed as soon this is fixed upstream
+ - name: Upload Test Results
if: failure()
uses: actions/upload-artifact@v3
with:
@@ -224,6 +232,12 @@ jobs:
- name: Commit Validation tests
run: ant -Dcluster.config=release commit-validation
+ - name: Create Test Summary
+ uses: test-summary/action@v1
+ if: failure()
+ with:
+ paths: "./*/*/build/test/*/results/*.xml"
+
php:
needs: base-build
name: PHP on ${{ matrix.os }}/JDK ${{ matrix.java }}
@@ -359,6 +373,12 @@ jobs:
- name: Test PHP Spellchecker Bindings
run: ant $OPTS -f php/spellchecker.bindings.php test
+
+ - name: Create Test Summary
+ uses: test-summary/action@v1
+ if: failure()
+ with:
+ paths: "./*/*/build/test/*/results/*.xml"
# last job depends on everything so that it is forced to run last even if a
long job fails early
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists