From 8afbd7738e538b4138124fd3fb96761512777fbd Mon Sep 17 00:00:00 2001 From: bottler Date: Mon, 2 Dec 2024 09:26:28 -0800 Subject: [PATCH] timeout slow tests --- .github/workflows/every_commit.yml | 2 +- requirements/bench.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/every_commit.yml b/.github/workflows/every_commit.yml index 7924bcbb0..15db64758 100644 --- a/.github/workflows/every_commit.yml +++ b/.github/workflows/every_commit.yml @@ -127,7 +127,7 @@ jobs: pip install pytest # run tests with no parallelism - pytest nevergrad -v --durations=20 --cov=nevergrad + pytest nevergrad -v --durations=20 --timeout=100 --cov=nevergrad # run in parallel using pytest-xdist # pytest nevergrad -n auto -v --durations=20 --cov=nevergrad diff --git a/requirements/bench.txt b/requirements/bench.txt index 087ca3837..890fbf669 100644 --- a/requirements/bench.txt +++ b/requirements/bench.txt @@ -51,6 +51,7 @@ pybullet>=3.2.2 glfw mujoco pySOT +pytest-timeout pytest-xdist poap pytest-circleci-parallelized