|
28 | 28 | type: boolean |
29 | 29 | required: false |
30 | 30 | default: false |
| 31 | + enable-hapi-tests-misc-records: |
| 32 | + description: "HAPI Testng (misc records) Enabled" |
| 33 | + type: boolean |
| 34 | + required: false |
| 35 | + default: false |
31 | 36 | enable-hapi-tests-crypto: |
32 | 37 | description: "HAPI Testing (crypto) Enabled" |
33 | 38 | type: boolean |
@@ -323,6 +328,42 @@ jobs: |
323 | 328 | hedera-node/test-clients/output/** |
324 | 329 | retention-days: 7 |
325 | 330 |
|
| 331 | + - name: HAPI Testing (Misc Records) |
| 332 | + id: gradle-hapi-misc-records |
| 333 | + if: ${{ inputs.enable-hapi-tests-misc-records && steps.gradle-build.conclusion == 'success' && !cancelled() }} |
| 334 | + env: |
| 335 | + LC_ALL: en.UTF-8 |
| 336 | + LANG: en_US.UTF-8 |
| 337 | + run: ${GRADLE_EXEC} hapiTestMiscRecords |
| 338 | + |
| 339 | + - name: Publish HAPI Test (Misc Records) Report |
| 340 | + uses: step-security/publish-unit-test-result-action@201bbe166c323b2f9dab6dfbf9d6b6c001bd0dce # v2.20.1 |
| 341 | + if: ${{ inputs.enable-hapi-tests-misc-records && steps.gradle-build.conclusion == 'success' && !cancelled() }} |
| 342 | + with: |
| 343 | + check_name: "Node: HAPI Test (Misc Records) Results" |
| 344 | + json_thousands_separator: "," |
| 345 | + junit_files: "**/test-clients/build/test-results/testSubprocess/TEST-*.xml" |
| 346 | + comment_mode: errors # only comment if we could not find or parse the JUnit XML files |
| 347 | + |
| 348 | + - name: Upload HAPI Test (Misc Records) Report Artifacts |
| 349 | + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 |
| 350 | + if: ${{ inputs.enable-hapi-tests-misc-records && steps.gradle-build.conclusion == 'success' && !cancelled() }} |
| 351 | + with: |
| 352 | + name: HAPI Test (Misc Records) Report |
| 353 | + path: "**/test-clients/build/test-results/**/TEST-*.xml" |
| 354 | + retention-days: 7 |
| 355 | + |
| 356 | + - name: Upload HAPI Test (Misc Records) Network Logs |
| 357 | + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 |
| 358 | + if: ${{ inputs.enable-hapi-tests-misc-records && inputs.enable-network-log-capture && steps.gradle-hapi-misc-records.conclusion == 'failure' && !cancelled() }} |
| 359 | + with: |
| 360 | + name: HAPI Test (Misc Records) Network Logs |
| 361 | + path: | |
| 362 | + hedera-node/test-clients/build/hapi-test/**/output/** |
| 363 | + hedera-node/test-clients/build/hapi-test/*.log |
| 364 | + hedera-node/test-clients/output/** |
| 365 | + retention-days: 7 |
| 366 | + |
326 | 367 | - name: HAPI Testing (Crypto) |
327 | 368 | id: gradle-hapi-crypto |
328 | 369 | if: ${{ inputs.enable-hapi-tests-crypto && steps.gradle-build.conclusion == 'success' && !cancelled() }} |
|
0 commit comments