mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-25 08:46:48 +02:00
chore: run_install_deps.sh 脚本中的内容移入workflow yaml, 降低安全风险
This commit is contained in:
parent
9685c9100c
commit
abfb8f2c21
2 changed files with 8 additions and 2 deletions
5
.github/workflows/fulltest.yaml
vendored
5
.github/workflows/fulltest.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
5
.github/workflows/unittest.yaml
vendored
5
.github/workflows/unittest.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue