Compare commits

..

2 commits

Author SHA1 Message Date
Erik C. Thauvin 9a7b64e689
Merge 59f7676f2a into affa9e1dac 2025-12-28 11:07:33 +00:00
Erik C. Thauvin 59f7676f2a
Add JUnit reporter integration and update workflow steps 2025-12-28 03:07:20 -08:00
2 changed files with 6 additions and 4 deletions

View file

@ -2,6 +2,9 @@ name: bld-ci
on: [push, pull_request, workflow_dispatch]
env:
REPORTS_DIR: "build/test-results/test/"
jobs:
build-linux:
runs-on: ubuntu-latest
@ -117,6 +120,7 @@ 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'
@ -152,7 +156,7 @@ jobs:
- name: Run tests
id: tests
run: ./bld test
run: ./bld test --reports-dir=${{ env.REPORTS_DIR }}
- name: Run reporter
if: always() && steps.tests.outcome == 'failure'
@ -191,7 +195,7 @@ jobs:
- name: Run tests
id: tests
run: .\bld.bat test
run: .\bld.bat test --reports-dir=${{ env.REPORTS_DIR }}
- name: Run reporter
if: always() && steps.tests.outcome == 'failure'

View file

@ -111,8 +111,6 @@ 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();