2323 type : boolean
2424 required : false
2525 default : false
26+ enable-integration-tests :
27+ description : " Integration Testing Enabled"
28+ type : boolean
29+ required : false
30+ default : false
2631 enable-hapi-tests-misc :
2732 description : " HAPI Testing (misc) Enabled"
2833 type : boolean
@@ -316,6 +321,28 @@ jobs:
316321 path : " **/build/test-results/hammer/TEST-*.xml"
317322 retention-days : 7
318323
324+ - name : Integration Tests
325+ id : gradle-integration-tests
326+ if : ${{ inputs.enable-integration-tests && steps.gradle-build.conclusion == 'success' && !cancelled() }}
327+ run : ${GRADLE_EXEC} testIntegration --continue
328+
329+ - name : Publish Integration Test Report
330+ uses : step-security/publish-unit-test-result-action@5d195d4dec0b9fa7b51a3dbc4298362a021247c7 # v2.20.4
331+ if : ${{ inputs.enable-integration-tests && steps.gradle-build.conclusion == 'success' && !cancelled() }}
332+ with :
333+ check_name : " Node: Integration Test Results"
334+ json_thousands_separator : " ,"
335+ junit_files : " **/build/test-results/testIntegration/TEST-*.xml"
336+ comment_mode : errors # only comment if we could not find or parse the JUnit XML files
337+
338+ - name : Upload Integration Test Report Artifacts
339+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
340+ if : ${{ inputs.enable-integration-tests && steps.gradle-build.conclusion == 'success' && !cancelled() }}
341+ with :
342+ name : Integration Test Report
343+ path : " **/build/test-results/testIntegration/TEST-*.xml"
344+ retention-days : 7
345+
319346 - name : HAPI Testing (Misc)
320347 id : gradle-hapi-misc
321348 if : ${{ inputs.enable-hapi-tests-misc && steps.gradle-build.conclusion == 'success' && !cancelled() }}
@@ -675,32 +702,50 @@ jobs:
675702 hedera-node/test-clients/build/*-test/**/output/**
676703 retention-days : 7
677704
705+ - name : Upload Otter Integration Tests Turtle Logs
706+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
707+ if : ${{ inputs.enable-integration-tests && inputs.enable-network-log-capture && steps.gradle-integration-tests.conclusion == 'failure' && !cancelled() }}
708+ with :
709+ name : Otter Integration Tests Turtle Logs
710+ path : |
711+ platform-sdk/consensus-otter-tests/build/turtle/**
712+ retention-days : 7
713+
714+ - name : Upload Otter Integration Tests Container Logs
715+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
716+ if : ${{ inputs.enable-integration-tests && inputs.enable-network-log-capture && steps.gradle-integration-tests.conclusion == 'failure' && !cancelled() }}
717+ with :
718+ name : Otter Integration Tests Container Logs
719+ path : |
720+ platform-sdk/consensus-otter-tests/build/container/**
721+ retention-days : 7
722+
678723 - name : Otter Testing
679724 id : gradle-otter-tests
680725 if : ${{ inputs.enable-otter-tests && steps.gradle-build.conclusion == 'success' && !cancelled() }}
681726 env :
682727 LC_ALL : en.UTF-8
683728 LANG : en_US.UTF-8
684- run : ${GRADLE_EXEC} :consensus-otter-tests:testIntegration
729+ run : ${GRADLE_EXEC} :consensus-otter-tests:testOtter
685730
686731 - name : Publish Otter Testing Report
687732 uses : step-security/publish-unit-test-result-action@5d195d4dec0b9fa7b51a3dbc4298362a021247c7 # v2.20.4
688733 if : ${{ inputs.enable-otter-tests && steps.gradle-build.conclusion == 'success' && !cancelled() }}
689734 with :
690735 check_name : " Node: Otter Tests Results"
691736 json_thousands_separator : " ,"
692- junit_files : " **/consensus-otter-tests/build/test-results/testIntegration /TEST-*.xml"
737+ junit_files : " **/consensus-otter-tests/build/test-results/testOtter /TEST-*.xml"
693738 comment_mode : errors # only comment if we could not find or parse the JUnit XML files
694739
695740 - name : Upload Otter Tests Report Artifacts
696741 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
697742 if : ${{ inputs.enable-otter-tests && steps.gradle-build.conclusion == 'success' && !cancelled() }}
698743 with :
699744 name : Otter Tests Report
700- path : " **/consensus-otter-tests/build/test-results/testIntegration /TEST-*.xml"
745+ path : " **/consensus-otter-tests/build/test-results/testOtter /TEST-*.xml"
701746 retention-days : 7
702747
703- - name : Upload Otter Turtle Logs
748+ - name : Upload Otter Tests Turtle Logs
704749 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
705750 if : ${{ inputs.enable-otter-tests && inputs.enable-network-log-capture && steps.gradle-otter-tests.conclusion == 'failure' && !cancelled() }}
706751 with :
@@ -709,7 +754,7 @@ jobs:
709754 platform-sdk/consensus-otter-tests/build/turtle/**
710755 retention-days : 7
711756
712- - name : Upload Otter Container Logs
757+ - name : Upload Otter Tests Container Logs
713758 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
714759 if : ${{ inputs.enable-otter-tests && inputs.enable-network-log-capture && steps.gradle-otter-tests.conclusion == 'failure' && !cancelled() }}
715760 with :
@@ -864,6 +909,7 @@ jobs:
864909 "${{ steps.gradle-timing-sensitive.outcome || 'skipped' }}"
865910 "${{ steps.gradle-time-consuming.outcome || 'skipped' }}"
866911 "${{ steps.gradle-hammer-tests.outcome || 'skipped' }}"
912+ "${{ steps.gradle-integration-tests.outcome || 'skipped' }}"
867913 "${{ steps.gradle-hapi-misc.outcome || 'skipped' }}"
868914 "${{ steps.gradle-hapi-misc-records.outcome || 'skipped' }}"
869915 "${{ steps.gradle-hapi-crypto.outcome || 'skipped' }}"
0 commit comments