@@ -184,6 +184,7 @@ defaults:
184184 - run : *run_soltest
185185 - store_test_results : *store_test_results
186186 - store_artifacts : *artifacts_test_results
187+ - gitter_notify_failure_unless_pr
187188
188189 - steps_soltest_all : &steps_soltest_all
189190 steps :
@@ -193,6 +194,7 @@ defaults:
193194 - run : *run_soltest_all
194195 - store_test_results : *store_test_results
195196 - store_artifacts : *artifacts_test_results
197+ - gitter_notify_failure_unless_pr
196198
197199 - steps_cmdline_tests : &steps_cmdline_tests
198200 steps :
@@ -202,6 +204,7 @@ defaults:
202204 - run : *run_cmdline_tests
203205 - store_test_results : *store_test_results
204206 - store_artifacts : *artifacts_test_results
207+ - gitter_notify_failure_unless_pr
205208
206209 # --------------------------------------------------------------------------
207210 # Base Image Templates
@@ -526,6 +529,7 @@ jobs:
526529 - run : *run_build
527530 - store_artifacts : *artifacts_solc
528531 - persist_to_workspace : *artifacts_executables
532+ - gitter_notify_failure_unless_pr
529533
530534 b_ubu_clang : &b_ubu_clang
531535 << : *base_ubuntu2004_clang_xlarge
@@ -547,6 +551,7 @@ jobs:
547551 - run : *run_build
548552 - store_artifacts : *artifacts_solc
549553 - persist_to_workspace : *artifacts_executables
554+ - gitter_notify_failure_unless_pr
550555
551556 b_ubu_ubsan_clang : &b_ubu_ubsan_clang
552557 << : *base_ubuntu2004_clang
@@ -591,6 +596,7 @@ jobs:
591596 - checkout
592597 - run : *run_build
593598 - persist_to_workspace : *artifacts_executables
599+ - gitter_notify_failure_unless_pr
594600
595601 t_ubu_codecov :
596602 << : *base_ubuntu2004
@@ -613,6 +619,7 @@ jobs:
613619 name : " Coverage: All"
614620 command : codecov --flags all --gcov-root build
615621 - store_artifacts : *artifacts_test_results
622+ - gitter_notify_failure_unless_pr
616623
617624 # Builds in C++20 mode and uses debug build in order to speed up.
618625 # Do *NOT* store any artifacts or workspace as we don't run tests on this build.
@@ -633,6 +640,7 @@ jobs:
633640 - run : *setup_prerelease_commit_hash
634641 - run : *run_build_ossfuzz
635642 - persist_to_workspace : *artifacts_executables_ossfuzz
643+ - gitter_notify_failure_unless_pr
636644
637645 t_ubu_ossfuzz : &t_ubu_ossfuzz
638646 << : *base_ubuntu1604_clang
@@ -749,6 +757,7 @@ jobs:
749757 paths :
750758 - soljson.js
751759 - version.txt
760+ - gitter_notify_failure_unless_pr
752761
753762 b_docs :
754763 << : *base_ubuntu2004
@@ -843,19 +852,11 @@ jobs:
843852 << : *base_ubuntu2004_clang
844853 environment :
845854 EVM : << pipeline.parameters.evm-version >>
846- steps :
847- - when :
848- condition : true
849- << : *steps_soltest
850- - gitter_notify_failure_unless_pr
855+ << : *steps_soltest
851856
852857 t_ubu_ubsan_clang_cli :
853858 << : *base_ubuntu2004_clang
854- steps :
855- - when :
856- condition : true
857- << : *steps_cmdline_tests
858- - gitter_notify_failure_unless_pr
859+ << : *steps_cmdline_tests
859860
860861 t_ems_solcjs :
861862 << : *base_ubuntu2004
@@ -886,9 +887,6 @@ jobs:
886887 nodejs_version :
887888 type : integer
888889 default : 14
889- gitter_notify :
890- type : boolean
891- default : no
892890 docker :
893891 - image : circleci/node:<<parameters.nodejs_version>>
894892 environment :
@@ -907,11 +905,7 @@ jobs:
907905 name : External <<parameters.project>> tests
908906 command : |
909907 test/externalTests/<<parameters.project>>.sh /tmp/workspace/soljson.js
910- - when :
911- condition : <<parameters.gitter_notify>>
912- steps :
913- - gitter_notify_failure_unless_pr
914- - gitter_notify_success_unless_pr
908+ - gitter_notify_failure_unless_pr
915909
916910 b_win : &b_win
917911 << : *base_win_powershell
@@ -1225,6 +1219,8 @@ workflows:
12251219 - develop
12261220
12271221 jobs :
1222+ # NOTE: Any job added here should contain the gitter_notify_failure_unless_pr step
1223+
12281224 # OSSFUZZ builds and (regression) tests
12291225 - b_ubu_ossfuzz : *workflow_trigger_on_tags
12301226 - t_ubu_ossfuzz : *workflow_ubuntu1604_ossfuzz
@@ -1251,4 +1247,3 @@ workflows:
12511247 << : *workflow_emscripten
12521248 name : t_ems_test_ext_colony
12531249 project : colony
1254- gitter_notify : yes
0 commit comments