فهرست منبع

hold circleci tests for approval on non-main branches

Alex Cheema 11 ماه پیش
والد
کامیت
23ae5e92c5
1فایلهای تغییر یافته به همراه20 افزوده شده و 5 حذف شده
  1. 20 5
      .circleci/config.yml

+ 20 - 5
.circleci/config.yml

@@ -216,8 +216,23 @@ workflows:
   version: 2
   build_and_test:
     jobs:
-      - unit_test
-      - discovery_integration_test
-      - chatgpt_api_integration_test_mlx
-      - test_macos_m1
-      # - chatgpt_api_integration_test_tinygrad
+      - hold_for_approval:
+          type: approval
+          filters:
+            branches:
+              ignore: main
+      - unit_test:
+          requires:
+            - hold_for_approval
+      - discovery_integration_test:
+          requires:
+            - hold_for_approval
+      - chatgpt_api_integration_test_mlx:
+          requires:
+            - hold_for_approval
+      - test_macos_m1:
+          requires:
+            - hold_for_approval
+      # - chatgpt_api_integration_test_tinygrad:
+      #     requires:
+      #       - hold_for_approval