From 0850cbb5bb863b839887f4b6e08fc511985f8c71 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 18 May 2023 15:45:22 +0930 Subject: [PATCH] CI: re-add python timeout. Without this, a stuck test (such as before the previous commit, where a plugin crashed when running a command) simply gets timed out by the full CI timeout. Signed-off-by: Rusty Russell --- .github/workflows/ci.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c22fb8f03..3715ef139 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -206,6 +206,7 @@ jobs: BITCOIN_VERSION: 24.0.1 ELEMENTS_VERSION: 22.0.2 RUST_PROFILE: release # Has to match the one in the compile step + PYTEST_OPTS: --timeout=1200 needs: - compile strategy: @@ -317,7 +318,7 @@ jobs: CFG: gcc-dev1-exp1 DEVELOPER: 1 EXPERIMENTAL_FEATURES: 1 - PYTEST_OPTS: --test-group-random-seed=42 + PYTEST_OPTS: --test-group-random-seed=42 --timeout=1800 needs: - compile strategy: