feat: implement dense-child optimized trie lookup and enterprise test/CI profile hardening
This commit is contained in:
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@@ -51,7 +51,7 @@ jobs:
|
||||
test -f gradle/verification-metadata.xml
|
||||
|
||||
- name: Execute build, tests, PMD, coverage, Javadoc, distribution packaging, and SBOM generation
|
||||
run: ./gradlew --no-daemon clean build pmdMain javadoc jacocoTestReport distZip cyclonedxBom
|
||||
run: ./gradlew --no-daemon clean ciRelease distZip pmdMain javadoc jacocoCiReleaseReport cyclonedxBom
|
||||
|
||||
- name: Upload SBOM
|
||||
if: always()
|
||||
@@ -70,8 +70,8 @@ jobs:
|
||||
with:
|
||||
name: test-reports
|
||||
path: |
|
||||
build/reports/tests/test
|
||||
build/test-results/test
|
||||
build/reports/tests
|
||||
build/test-results
|
||||
if-no-files-found: warn
|
||||
retention-days: 14
|
||||
|
||||
@@ -90,8 +90,8 @@ jobs:
|
||||
with:
|
||||
name: coverage-reports
|
||||
path: |
|
||||
build/reports/jacoco/test/html
|
||||
build/reports/jacoco/test/jacocoTestReport.xml
|
||||
build/reports/jacoco/jacocoCiReleaseReport/html
|
||||
build/reports/jacoco/jacocoCiReleaseReport/jacocoCiReleaseReport.xml
|
||||
if-no-files-found: warn
|
||||
retention-days: 14
|
||||
|
||||
@@ -160,7 +160,7 @@ jobs:
|
||||
env:
|
||||
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
|
||||
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
|
||||
run: ./gradlew --no-daemon clean build pmdMain javadoc jacocoTestReport cyclonedxBom centralBundle
|
||||
run: ./gradlew --no-daemon clean ciRelease distZip pmdMain javadoc jacocoCiReleaseReport cyclonedxBom centralBundle
|
||||
|
||||
- name: Generate release changelog
|
||||
shell: bash
|
||||
|
||||
19
.github/workflows/pages.yml
vendored
19
.github/workflows/pages.yml
vendored
@@ -70,7 +70,7 @@ jobs:
|
||||
test -f gradle/verification-metadata.xml
|
||||
|
||||
- name: Build reports for publication
|
||||
run: ./gradlew --no-daemon clean build pmdMain javadoc jacocoTestReport pitest jmh cyclonedxBom
|
||||
run: ./gradlew --no-daemon clean ciRelease pmdMain javadoc jacocoCiReleaseReport pitest jmh cyclonedxBom
|
||||
|
||||
- name: Prepare gh-pages worktree
|
||||
shell: bash
|
||||
@@ -93,6 +93,9 @@ jobs:
|
||||
run: |
|
||||
set -euo pipefail
|
||||
|
||||
TEST_REPORT_DIR="build/reports/tests/ciRelease"
|
||||
JACOCO_REPORT_DIR="build/reports/jacoco/jacocoCiReleaseReport"
|
||||
|
||||
SITE_DIR=".gh-pages"
|
||||
RUN_DIR="${SITE_DIR}/builds/${GITHUB_RUN_NUMBER}"
|
||||
RUN_METRICS_DIR="${RUN_DIR}/metrics"
|
||||
@@ -106,14 +109,14 @@ jobs:
|
||||
cp -R build/docs/javadoc "${RUN_DIR}/javadoc"
|
||||
cp -R build/docs/javadoc "${LATEST_DIR}/javadoc"
|
||||
|
||||
cp -R build/reports/tests/test "${RUN_DIR}/test"
|
||||
cp -R build/reports/tests/test "${LATEST_DIR}/test"
|
||||
cp -R "${TEST_REPORT_DIR}" "${RUN_DIR}/test"
|
||||
cp -R "${TEST_REPORT_DIR}" "${LATEST_DIR}/test"
|
||||
|
||||
cp -R build/reports/pmd "${RUN_DIR}/pmd"
|
||||
cp -R build/reports/pmd "${LATEST_DIR}/pmd"
|
||||
|
||||
cp -R build/reports/jacoco/test/html "${RUN_DIR}/coverage"
|
||||
cp -R build/reports/jacoco/test/html "${LATEST_DIR}/coverage"
|
||||
cp -R "${JACOCO_REPORT_DIR}/html" "${RUN_DIR}/coverage"
|
||||
cp -R "${JACOCO_REPORT_DIR}/html" "${LATEST_DIR}/coverage"
|
||||
|
||||
cp -R build/reports/pitest "${RUN_DIR}/pitest"
|
||||
cp -R build/reports/pitest "${LATEST_DIR}/pitest"
|
||||
@@ -178,7 +181,7 @@ jobs:
|
||||
|
||||
python3 \
|
||||
./tools/generate-pages-badges.py \
|
||||
--jacoco-xml build/reports/jacoco/test/jacocoTestReport.xml \
|
||||
--jacoco-xml "${JACOCO_REPORT_DIR}/jacocoCiReleaseReport.xml" \
|
||||
--pit-xml build/reports/pitest/mutations.xml \
|
||||
--jmh-csv build/reports/jmh/jmh-results.csv \
|
||||
--run-metrics-dir "${RUN_METRICS_DIR}" \
|
||||
@@ -228,7 +231,7 @@ jobs:
|
||||
<p class="meta">Build ${GITHUB_RUN_NUMBER} from commit ${GITHUB_SHA}</p>
|
||||
<ul>
|
||||
<li><a href="./javadoc/">Javadoc</a></li>
|
||||
<li><a href="./test/">Test Report</a></li>
|
||||
<li><a href="./test/">Release Verification Test Report (ciRelease)</a></li>
|
||||
<li><a href="./pmd/main.html">PMD Report</a></li>
|
||||
<li><a href="./coverage/">Coverage Report</a></li>
|
||||
${DEPENDENCY_CHECK_LINK:-<li>Dependency Vulnerability Report: not available</li>}
|
||||
@@ -260,7 +263,7 @@ jobs:
|
||||
|
||||
- [Latest build summary](https://leogalambos.github.io/Radixor/builds/latest/)
|
||||
- [Javadoc](https://leogalambos.github.io/Radixor/builds/latest/javadoc/)
|
||||
- [Unit test report](https://leogalambos.github.io/Radixor/builds/latest/test/)
|
||||
- [Release verification test report (ciRelease)](https://leogalambos.github.io/Radixor/builds/latest/test/)
|
||||
- [PMD report](https://leogalambos.github.io/Radixor/builds/latest/pmd/main.html)
|
||||
- [JaCoCo coverage report](https://leogalambos.github.io/Radixor/builds/latest/coverage/)
|
||||
- [PIT mutation testing report](https://leogalambos.github.io/Radixor/builds/latest/pitest/)
|
||||
|
||||
Reference in New Issue
Block a user