ci: add timeout field to 2h for each task

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
This commit is contained in:
Vincenzo Palazzo 2023-02-08 17:11:45 +01:00 committed by Rusty Russell
parent 57d21206db
commit ba4f0c8dab
6 changed files with 10 additions and 1 deletions

View file

@ -10,6 +10,7 @@ jobs:
testfreebsd:
runs-on: macos-10.15
name: Build and test on FreeBSD
timeout-minutes: 120
env:
DEVELOPER: 1
VALGRIND: 0

View file

@ -20,6 +20,7 @@ jobs:
prebuild:
name: Pre-build checks
runs-on: ubuntu-20.04
timeout-minutes: 30
env:
RUST: 1
COMPAT: 1
@ -58,6 +59,7 @@ jobs:
# on the integration tests), so run them with `valgrind`
name: Run unit tests
runs-on: ubuntu-22.04
timeout-minutes: 30
env:
COMPAT: 1
VALGRIND: 1
@ -92,6 +94,7 @@ jobs:
compile:
name: Compile CLN ${{ matrix.cfg }}
runs-on: ubuntu-22.04
timeout-minutes: 30
env:
COMPAT: 1
needs:
@ -163,6 +166,7 @@ jobs:
integration:
name: Test CLN ${{ matrix.name }}
runs-on: ubuntu-22.04
timeout-minutes: 120
env:
COMPAT: 1
BITCOIN_VERSION: 24.0.1
@ -269,6 +273,7 @@ jobs:
integration-valgrind:
name: Valgrind Test CLN ${{ matrix.name }}
runs-on: ubuntu-22.04
timeout-minutes: 120
env:
COMPAT: 1
BITCOIN_VERSION: 24.0.1

View file

@ -5,6 +5,7 @@ on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 120
strategy:
fail-fast: false
matrix:

View file

@ -6,6 +6,7 @@ jobs:
smoke-test:
name: Smoke Test macOS
runs-on: macos-latest
timeout-minutes: 120
env:
DEVELOPER: 1
VALGRIND: 0

View file

@ -9,7 +9,7 @@ jobs:
proto-test:
name: Protocol Test Config
runs-on: ubuntu-22.04
timeout-minutes: 300
timeout-minutes: 120
strategy:
fail-fast: true
matrix:

View file

@ -14,6 +14,7 @@ jobs:
deploy:
name: Build and publish ${{ matrix.package }} 🐍
runs-on: ubuntu-20.04
timeout-minutes: 120
strategy:
fail-fast: true
matrix: