Ver Fonte

run on every commit on main, reuqire approval on other branches

Alex Cheema há 11 meses atrás
pai
commit
ad695696a5
1 ficheiros alterados com 28 adições e 3 exclusões
  1. 28 3
      .circleci/config.yml

+ 28 - 3
.circleci/config.yml

@@ -221,18 +221,43 @@ workflows:
           filters:
             branches:
               ignore: main
+      - unit_test:
+          filters:
+            branches:
+              only: main
+      - discovery_integration_test:
+          filters:
+            branches:
+              only: main
+      - chatgpt_api_integration_test_mlx:
+          filters:
+            branches:
+              only: main
+      - test_macos_m1:
+          filters:
+            branches:
+              only: main
       - unit_test:
           requires:
             - hold_for_approval
+          filters:
+            branches:
+              ignore: main
       - discovery_integration_test:
           requires:
             - hold_for_approval
+          filters:
+            branches:
+              ignore: main
       - chatgpt_api_integration_test_mlx:
           requires:
             - hold_for_approval
+          filters:
+            branches:
+              ignore: main
       - test_macos_m1:
           requires:
             - hold_for_approval
-      # - chatgpt_api_integration_test_tinygrad:
-      #     requires:
-      #       - hold_for_approval
+          filters:
+            branches:
+              ignore: main