mirror of
https://github.com/rife2/bld
synced 2026-03-30 22:54:08 +02:00
Compare commits
2 commits
9a7b64e689
...
4ff8c761ec
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4ff8c761ec | ||
|
|
1c7ca84156 |
8
.github/workflows/bld.yml
vendored
8
.github/workflows/bld.yml
vendored
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue