Add slow test report to CI

This commit is contained in:
Reinier van der Leer
2023-07-08 18:55:59 +02:00
parent a6f4fa4416
commit 4f87f70904
2 changed files with 4 additions and 2 deletions

View File

@@ -148,7 +148,8 @@ jobs:
- name: Run pytest with coverage
run: |
pytest -n auto --cov=autogpt --cov-branch --cov-report term-missing --cov-report xml \
pytest -v --cov=autogpt --cov-branch --cov-report term-missing --cov-report xml \
--numprocesses=4 --durations=10 \
tests/unit tests/integration tests/challenges
python tests/challenges/utils/build_current_score.py
env:

View File

@@ -109,7 +109,8 @@ jobs:
set +e
test_output=$(
docker run --env CI --env OPENAI_API_KEY --entrypoint python ${{ env.IMAGE_NAME }} -m \
pytest -n auto --cov=autogpt --cov-branch --cov-report term-missing \
pytest -v --cov=autogpt --cov-branch --cov-report term-missing \
--numprocesses=4 --durations=10 \
tests/unit tests/integration 2>&1
)
test_failure=$?