Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Add slow test report to CI

Reinier van der Leer4f87f709044c
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 3e21d1d701..825a493994 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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:
diff --git a/.github/workflows/docker-ci.yml b/.github/workflows/docker-ci.yml
index 3da88891ed..7de4c2489e 100644
--- a/.github/workflows/docker-ci.yml
+++ b/.github/workflows/docker-ci.yml
@@ -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=$?