Explorar el Código

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

Alex Cheema hace 11 meses
padre
commit
ad695696a5
Se han modificado 1 ficheros con 28 adiciones y 3 borrados
  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