From 47b8c90be57625fe958e2ca07e7a101c28bcdc08 Mon Sep 17 00:00:00 2001 From: Sergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com> Date: Thu, 28 Dec 2023 15:00:26 +0200 Subject: [PATCH] CI: Add timeouts to test jobs (#1329) * add timeouts to test jobs * increase timeout * Update .github/workflows/rust.yml Co-authored-by: Niklas Adolfsson * increase timeout --------- Co-authored-by: Niklas Adolfsson --- .github/workflows/rust.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 2858855961..f47bba5fa3 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -159,6 +159,7 @@ jobs: tests: name: "Test (Native)" runs-on: ubuntu-latest-16-cores + timeout-minutes: 45 steps: - name: Checkout sources uses: actions/checkout@v4 @@ -188,6 +189,7 @@ jobs: unstable_backend_tests: name: "Test (Unstable Backend)" runs-on: ubuntu-latest-16-cores + timeout-minutes: 45 steps: - name: Checkout sources uses: actions/checkout@v4 @@ -217,7 +219,7 @@ jobs: light_client_tests: name: "Test (Light Client)" runs-on: ubuntu-latest-16-cores - timeout-minutes: 25 + timeout-minutes: 45 steps: - name: Checkout sources uses: actions/checkout@v4 @@ -244,6 +246,7 @@ jobs: wasm_tests: name: Test (WASM) runs-on: ubuntu-latest + timeout-minutes: 45 env: # Set timeout for wasm tests to be much bigger than the default 20 secs. WASM_BINDGEN_TEST_TIMEOUT: 300