@@ -744,6 +744,12 @@ jobs:
744744 - name : Formatted sanity check Complement test logs
745745 # Always run this step if we attempted to run the Complement tests.
746746 if : always() && steps.run_sanity_check_complement_image_test.outcome != 'skipped'
747+ # We do not hide successful tests in `gotestfmt` here as the list of sanity
748+ # check tests is so short. Feel free to change this when we get more tests.
749+ #
750+ # Note that the `-hide` argument is interpreted by `gotestfmt`. From it,
751+ # it derives several values under `$settings` and passes them to our
752+ # custom `.ci/complement_package.gotpl` template to render the output.
747753 run : cat /tmp/gotest-sanity-check-complement.log | gotestfmt -hide "successful-downloads,empty-packages"
748754
749755 - name : Run Complement Tests
@@ -764,10 +770,15 @@ jobs:
764770 POSTGRES : ${{ (matrix.database == 'Postgres') && 1 || '' }}
765771 WORKERS : ${{ (matrix.arrangement == 'workers') && 1 || '' }}
766772
767- - name : Formatted Complement test logs
773+ - name : Formatted Complement test logs (only failing are shown)
768774 # Always run this step if we attempted to run the Complement tests.
769775 if : always() && steps.run_complement_tests.outcome != 'skipped'
770- run : cat /tmp/gotest-complement.log | gotestfmt -hide "successful-downloads,empty-packages"
776+ # Hide successful tests in order to reduce the verbosity of the otherwise very large output.
777+ #
778+ # Note that the `-hide` argument is interpreted by `gotestfmt`. From it,
779+ # it derives several values under `$settings` and passes them to our
780+ # custom `.ci/complement_package.gotpl` template to render the output.
781+ run : cat /tmp/gotest-complement.log | gotestfmt -hide "successful-downloads,successful-tests,empty-packages"
771782
772783 - name : Run in-repo Complement Tests
773784 id : run_in_repo_complement_tests
@@ -787,10 +798,15 @@ jobs:
787798 POSTGRES : ${{ (matrix.database == 'Postgres') && 1 || '' }}
788799 WORKERS : ${{ (matrix.arrangement == 'workers') && 1 || '' }}
789800
790- - name : Formatted in-repo Complement test logs
801+ - name : Formatted in-repo Complement test logs (only failing are shown)
791802 # Always run this step if we attempted to run the Complement tests.
792803 if : always() && steps.run_in_repo_complement_tests.outcome != 'skipped'
793- run : cat /tmp/gotest-in-repo-complement.log | gotestfmt -hide "successful-downloads,empty-packages"
804+ # Hide successful tests in order to reduce the verbosity of the otherwise very large output.
805+ #
806+ # Note that the `-hide` argument is interpreted by `gotestfmt`. From it,
807+ # it derives several values under `$settings` and passes them to our
808+ # custom `.ci/complement_package.gotpl` template to render the output.
809+ run : cat /tmp/gotest-in-repo-complement.log | gotestfmt -hide "successful-downloads,successful-tests,empty-packages"
794810
795811 cargo-test :
796812 if : ${{ needs.changes.outputs.rust == 'true' }}
0 commit comments