fix(ci): Add missing timeouts to CI and CD tests (#7730)

* Add missing timeouts to CI and CD tests

* Remove timeout keys that are not allowed by the syntax
This commit is contained in:
teor 2023-10-19 22:30:53 +10:00 committed by GitHub
parent d6f4d31706
commit 2f14efac24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -99,6 +99,7 @@ jobs:
build: build:
name: Build ${{ matrix.crate }} crate name: Build ${{ matrix.crate }} crate
timeout-minutes: 90
needs: [ matrix, check-matrix ] needs: [ matrix, check-matrix ]
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:

View File

@ -91,6 +91,7 @@ jobs:
# TODO: turn this test and the getblocktemplate test into a matrix, so the jobs use exactly the same diagnostics settings # TODO: turn this test and the getblocktemplate test into a matrix, so the jobs use exactly the same diagnostics settings
test-all: test-all:
name: Test all name: Test all
timeout-minutes: 180
runs-on: ubuntu-latest-xl runs-on: ubuntu-latest-xl
needs: build needs: build
steps: steps:
@ -144,6 +145,7 @@ jobs:
# (The gRPC feature is a zebrad feature, so it isn't needed here.) # (The gRPC feature is a zebrad feature, so it isn't needed here.)
test-fake-activation-heights: test-fake-activation-heights:
name: Test with fake activation heights name: Test with fake activation heights
timeout-minutes: 60
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build
steps: steps:
@ -167,6 +169,7 @@ jobs:
# (We activate the gRPC feature to avoid recompiling `zebrad`, but we don't actually run any gRPC tests.) # (We activate the gRPC feature to avoid recompiling `zebrad`, but we don't actually run any gRPC tests.)
test-empty-sync: test-empty-sync:
name: Test checkpoint sync from empty state name: Test checkpoint sync from empty state
timeout-minutes: 60
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build
steps: steps:
@ -189,6 +192,7 @@ jobs:
# (We activate the gRPC feature to avoid recompiling `zebrad`, but we don't actually run any gRPC tests.) # (We activate the gRPC feature to avoid recompiling `zebrad`, but we don't actually run any gRPC tests.)
test-lightwalletd-integration: test-lightwalletd-integration:
name: Test integration with lightwalletd name: Test integration with lightwalletd
timeout-minutes: 60
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build
steps: steps: