Skip to content

Commit

Permalink
CI: re-add python timeout.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
rustyrussell committed May 18, 2023
1 parent 4ed6a49 commit be99b71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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=300
needs:
- compile
strategy:
Expand Down Expand Up @@ -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=300
needs:
- compile
strategy:
Expand Down

0 comments on commit be99b71

Please sign in to comment.