Skip to content

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

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

voidkingabfb8f2c2123
diff --git a/.github/workflows/fulltest.yaml b/.github/workflows/fulltest.yaml
index 70c800481..d6ccd0e9b 100644
--- a/.github/workflows/fulltest.yaml
+++ b/.github/workflows/fulltest.yaml
@@ -30,7 +30,10 @@ jobs:
cache: 'pip'
- name: Install dependencies
run: |
- sh tests/scripts/run_install_deps.sh
+ - 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 0ee053e43..600ba1d58 100644
--- a/.github/workflows/unittest.yaml
+++ b/.github/workflows/unittest.yaml
@@ -27,7 +27,10 @@ jobs:
cache: 'pip'
- name: Install dependencies
run: |
- sh tests/scripts/run_install_deps.sh
+ - 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