Compare commits

..

2 commits

Author SHA1 Message Date
Erik C. Thauvin 4ff8c761ec
Merge 1c7ca84156 into affa9e1dac 2025-12-28 10:15:22 +00:00
Erik C. Thauvin 1c7ca84156
Add JUnit reporter integration and update workflow steps 2025-12-28 02:14:49 -08:00
2 changed files with 4 additions and 6 deletions

View file

@ -2,9 +2,6 @@ name: bld-ci
on: [push, pull_request, workflow_dispatch]
env:
REPORTS_DIR: "build/test-results/test/"
jobs:
build-linux:
runs-on: ubuntu-latest
@ -120,7 +117,6 @@ jobs:
-Dtest.postgres=true -Dtest.mysql=true -Dtest.mariadb=true -Dtest.oracle=true -Dtest.oracle-free=true
-DtestsBadgeUrl=https://rife2.com/tests-badge/update/com.uwyn.rife2/bld
-DtestsBadgeApiKey=${{ secrets.TESTS_BADGE_API_KEY }}
--reports-dir=${{ env.REPORTS_DIR }}
- name: Run reporter
if: always() && steps.tests.outcome == 'failure'
@ -156,7 +152,7 @@ jobs:
- name: Run tests
id: tests
run: ./bld test --reports-dir=${{ env.REPORTS_DIR }}
run: ./bld test
- name: Run reporter
if: always() && steps.tests.outcome == 'failure'
@ -195,7 +191,7 @@ jobs:
- name: Run tests
id: tests
run: .\bld.bat test --reports-dir=${{ env.REPORTS_DIR }}
run: .\bld.bat test
- name: Run reporter
if: always() && steps.tests.outcome == 'failure'

View file

@ -111,6 +111,8 @@ public class BldBuild extends AbstractRife2Build {
.signPassphrase(property("sign.passphrase")))
.artifacts(
new PublishArtifact(zipBldOperation.destinationFile(), "", "zip"));
testOperation().testToolOptions().reportsDir(new File("build/test-results/test/"));
}
final ZipOperation zipBldOperation = new ZipOperation();