mirror of
https://github.com/rife2/bld
synced 2026-04-13 20:14:10 +02:00
Compare commits
2 commits
4ff8c761ec
...
9a7b64e689
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9a7b64e689 | ||
|
|
59f7676f2a |
8
.github/workflows/bld.yml
vendored
8
.github/workflows/bld.yml
vendored
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue