Skip to content

Commit

Permalink
CI: Add timeouts to test jobs (#1329)
Browse files Browse the repository at this point in the history
* add timeouts to test jobs

* increase timeout

* Update .github/workflows/rust.yml

Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>

* increase timeout

---------

Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
  • Loading branch information
sergejparity and niklasad1 authored Dec 28, 2023
1 parent 2717609 commit 47b8c90
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 47b8c90

Please sign in to comment.