mirror of
https://github.com/rife2/bld
synced 2026-05-02 03:54:10 +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]
|
on: [push, pull_request, workflow_dispatch]
|
||||||
|
|
||||||
env:
|
|
||||||
REPORTS_DIR: "build/test-results/test/"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-linux:
|
build-linux:
|
||||||
runs-on: ubuntu-latest
|
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
|
-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
|
-DtestsBadgeUrl=https://rife2.com/tests-badge/update/com.uwyn.rife2/bld
|
||||||
-DtestsBadgeApiKey=${{ secrets.TESTS_BADGE_API_KEY }}
|
-DtestsBadgeApiKey=${{ secrets.TESTS_BADGE_API_KEY }}
|
||||||
--reports-dir=${{ env.REPORTS_DIR }}
|
|
||||||
|
|
||||||
- name: Run reporter
|
- name: Run reporter
|
||||||
if: always() && steps.tests.outcome == 'failure'
|
if: always() && steps.tests.outcome == 'failure'
|
||||||
|
|
@ -156,7 +152,7 @@ jobs:
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
id: tests
|
id: tests
|
||||||
run: ./bld test --reports-dir=${{ env.REPORTS_DIR }}
|
run: ./bld test
|
||||||
|
|
||||||
- name: Run reporter
|
- name: Run reporter
|
||||||
if: always() && steps.tests.outcome == 'failure'
|
if: always() && steps.tests.outcome == 'failure'
|
||||||
|
|
@ -195,7 +191,7 @@ jobs:
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
id: tests
|
id: tests
|
||||||
run: .\bld.bat test --reports-dir=${{ env.REPORTS_DIR }}
|
run: .\bld.bat test
|
||||||
|
|
||||||
- name: Run reporter
|
- name: Run reporter
|
||||||
if: always() && steps.tests.outcome == 'failure'
|
if: always() && steps.tests.outcome == 'failure'
|
||||||
|
|
|
||||||
|
|
@ -111,6 +111,8 @@ public class BldBuild extends AbstractRife2Build {
|
||||||
.signPassphrase(property("sign.passphrase")))
|
.signPassphrase(property("sign.passphrase")))
|
||||||
.artifacts(
|
.artifacts(
|
||||||
new PublishArtifact(zipBldOperation.destinationFile(), "", "zip"));
|
new PublishArtifact(zipBldOperation.destinationFile(), "", "zip"));
|
||||||
|
|
||||||
|
testOperation().testToolOptions().reportsDir(new File("build/test-results/test/"));
|
||||||
}
|
}
|
||||||
|
|
||||||
final ZipOperation zipBldOperation = new ZipOperation();
|
final ZipOperation zipBldOperation = new ZipOperation();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue