bugfix: 修复单测Interrupted问题

This commit is contained in:
voidking 2024-07-18 15:11:36 +08:00
parent 770d735d97
commit 01746773d1

View file

@ -32,7 +32,7 @@ jobs:
run: |
export ALLOW_OPENAI_API_CALL=0
mkdir -p ~/.metagpt && cp tests/config2.yaml ~/.metagpt/config2.yaml
pytest tests/ --ignore=tests/metagpt/environment/android_env --ignore=tests/metagpt/ext/android_assistant \
pytest --continue-on-collection-errors tests/ --ignore=tests/metagpt/environment/android_env --ignore=tests/metagpt/ext/android_assistant \
--doctest-modules --cov=./metagpt/ --cov-report=xml:cov.xml --cov-report=html:htmlcov \
--durations=20 | tee unittest.txt
- name: Show coverage report