Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

chore: run_install_deps.sh 脚本中的内容移入workflow yaml, 降低安全风险

voidking1e7a92188798
diff --git a/.github/workflows/fulltest.yaml b/.github/workflows/fulltest.yaml
index d6ccd0e9b..2ab6444fa 100644
--- a/.github/workflows/fulltest.yaml
+++ b/.github/workflows/fulltest.yaml
@@ -30,10 +30,10 @@ jobs:
cache: 'pip'
- name: Install dependencies
run: |
- - python -m pip install --upgrade pip
- - pip install -e .[test]
- - npm install -g @mermaid-js/mermaid-cli
- - playwright install --with-deps
+ python -m pip install --upgrade pip
+ pip install -e .[test]
+ npm install -g @mermaid-js/mermaid-cli
+ playwright install --with-deps
- name: Run reverse proxy script for ssh service
if: contains(github.ref, '-debugger')
continue-on-error: true
diff --git a/.github/workflows/unittest.yaml b/.github/workflows/unittest.yaml
index 600ba1d58..25f82b1e6 100644
--- a/.github/workflows/unittest.yaml
+++ b/.github/workflows/unittest.yaml
@@ -27,10 +27,10 @@ jobs:
cache: 'pip'
- name: Install dependencies
run: |
- - python -m pip install --upgrade pip
- - pip install -e .[test]
- - npm install -g @mermaid-js/mermaid-cli
- - playwright install --with-deps
+ python -m pip install --upgrade pip
+ pip install -e .[test]
+ npm install -g @mermaid-js/mermaid-cli
+ playwright install --with-deps
- name: Test with pytest
run: |
export ALLOW_OPENAI_API_CALL=0