From 4c859f1ad16ee0247d6b2c1b4f20052916bcb4a5 Mon Sep 17 00:00:00 2001 From: Chris Stewart Date: Sat, 17 Apr 2021 17:56:19 -0500 Subject: [PATCH] Add timeouts to our CI workflows (#2908) --- .github/workflows/Compile.yml | 1 + .github/workflows/Docs.yml | 1 + .github/workflows/Linux_2.12_App_Chain_Node_Core_Tests.yml | 1 + .github/workflows/Linux_2.12_KeyManager_Wallet_DLC_Tests.yml | 1 + .github/workflows/Linux_2.12_RPC_Tests.yml | 1 + .github/workflows/Linux_2.13_App_Chain_Node_Core_Tests.yml | 1 + .github/workflows/Linux_2.13_KeyManager_Wallet_DLC_Tests.yml | 1 + .github/workflows/Linux_2.13_RPC_Tests.yml | 1 + .github/workflows/Linux_2.13_ScalaJS_Tests.yml | 1 + .github/workflows/Mac_2.13_RPC_Tests.yml | 1 + .github/workflows/Mac_2.13_Wallet_Node_DLC_Tests.yml | 1 + .github/workflows/PostgresTests.yml | 1 + .github/workflows/Secp_Disabled_Tests.yml | 1 + .github/workflows/Windows.yml | 1 + .github/workflows/docker-publish.yml | 1 + .github/workflows/native.yml | 1 + .github/workflows/release.yml | 1 + 17 files changed, 17 insertions(+) diff --git a/.github/workflows/Compile.yml b/.github/workflows/Compile.yml index 240907a786..a86cd71f5e 100644 --- a/.github/workflows/Compile.yml +++ b/.github/workflows/Compile.yml @@ -1,4 +1,5 @@ name: Compile & Formatting +timeout-minutes: 60 env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} diff --git a/.github/workflows/Docs.yml b/.github/workflows/Docs.yml index c156d2fcae..7200ced798 100644 --- a/.github/workflows/Docs.yml +++ b/.github/workflows/Docs.yml @@ -1,4 +1,5 @@ name: Docs +timeout-minutes: 60 env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} diff --git a/.github/workflows/Linux_2.12_App_Chain_Node_Core_Tests.yml b/.github/workflows/Linux_2.12_App_Chain_Node_Core_Tests.yml index 22735709f3..03b146b85e 100644 --- a/.github/workflows/Linux_2.12_App_Chain_Node_Core_Tests.yml +++ b/.github/workflows/Linux_2.12_App_Chain_Node_Core_Tests.yml @@ -1,4 +1,5 @@ name: Linux 2.12 App, Chain, Node, and Core Tests +timeout-minutes: 60 env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} diff --git a/.github/workflows/Linux_2.12_KeyManager_Wallet_DLC_Tests.yml b/.github/workflows/Linux_2.12_KeyManager_Wallet_DLC_Tests.yml index 15257f7a04..8483767f28 100644 --- a/.github/workflows/Linux_2.12_KeyManager_Wallet_DLC_Tests.yml +++ b/.github/workflows/Linux_2.12_KeyManager_Wallet_DLC_Tests.yml @@ -1,4 +1,5 @@ name: Linux 2.12 KeyManager, Wallet, and DLC tests +timeout-minutes: 60 env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} diff --git a/.github/workflows/Linux_2.12_RPC_Tests.yml b/.github/workflows/Linux_2.12_RPC_Tests.yml index 632bb48adf..7348204625 100644 --- a/.github/workflows/Linux_2.12_RPC_Tests.yml +++ b/.github/workflows/Linux_2.12_RPC_Tests.yml @@ -1,4 +1,5 @@ name: Linux 2.12 bitcoind, eclair, and lnd rpc tests +timeout-minutes: 60 env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} diff --git a/.github/workflows/Linux_2.13_App_Chain_Node_Core_Tests.yml b/.github/workflows/Linux_2.13_App_Chain_Node_Core_Tests.yml index 6ba9fe1bfe..35f306b9b7 100644 --- a/.github/workflows/Linux_2.13_App_Chain_Node_Core_Tests.yml +++ b/.github/workflows/Linux_2.13_App_Chain_Node_Core_Tests.yml @@ -1,4 +1,5 @@ name: Linux 2.13 App, Chain, Node, and Core Tests +timeout-minutes: 60 env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} diff --git a/.github/workflows/Linux_2.13_KeyManager_Wallet_DLC_Tests.yml b/.github/workflows/Linux_2.13_KeyManager_Wallet_DLC_Tests.yml index db8f993cab..3af101e622 100644 --- a/.github/workflows/Linux_2.13_KeyManager_Wallet_DLC_Tests.yml +++ b/.github/workflows/Linux_2.13_KeyManager_Wallet_DLC_Tests.yml @@ -1,4 +1,5 @@ name: Linux 2.13 KeyManager, Wallet, and DLC tests +timeout-minutes: 60 env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} diff --git a/.github/workflows/Linux_2.13_RPC_Tests.yml b/.github/workflows/Linux_2.13_RPC_Tests.yml index 952b321ead..799ae914bf 100644 --- a/.github/workflows/Linux_2.13_RPC_Tests.yml +++ b/.github/workflows/Linux_2.13_RPC_Tests.yml @@ -1,4 +1,5 @@ name: Linux 2.13 bitcoind, eclair, and lnd rpc tests +timeout-minutes: 60 env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} diff --git a/.github/workflows/Linux_2.13_ScalaJS_Tests.yml b/.github/workflows/Linux_2.13_ScalaJS_Tests.yml index 399ebfcfdd..9e089b1cfa 100644 --- a/.github/workflows/Linux_2.13_ScalaJS_Tests.yml +++ b/.github/workflows/Linux_2.13_ScalaJS_Tests.yml @@ -1,4 +1,5 @@ name: Linux 2.13 Scala.js tests +timeout-minutes: 60 env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} diff --git a/.github/workflows/Mac_2.13_RPC_Tests.yml b/.github/workflows/Mac_2.13_RPC_Tests.yml index efa6c35c2a..a55ea079e7 100644 --- a/.github/workflows/Mac_2.13_RPC_Tests.yml +++ b/.github/workflows/Mac_2.13_RPC_Tests.yml @@ -1,4 +1,5 @@ name: Mac 2.13 bitcoind, eclair, and lnd rpc tests +timeout-minutes: 60 env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} diff --git a/.github/workflows/Mac_2.13_Wallet_Node_DLC_Tests.yml b/.github/workflows/Mac_2.13_Wallet_Node_DLC_Tests.yml index bc0d54ea23..2c5bdef731 100644 --- a/.github/workflows/Mac_2.13_Wallet_Node_DLC_Tests.yml +++ b/.github/workflows/Mac_2.13_Wallet_Node_DLC_Tests.yml @@ -1,4 +1,5 @@ name: Mac 2.13 Wallet, Node, and DLC tests +timeout-minutes: 60 env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} diff --git a/.github/workflows/PostgresTests.yml b/.github/workflows/PostgresTests.yml index 74a08c3c6f..d6ebc1ed46 100644 --- a/.github/workflows/PostgresTests.yml +++ b/.github/workflows/PostgresTests.yml @@ -1,4 +1,5 @@ name: PostgreSQL Tests +timeout-minutes: 60 env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} diff --git a/.github/workflows/Secp_Disabled_Tests.yml b/.github/workflows/Secp_Disabled_Tests.yml index aaca66e6ef..5659cf24e9 100644 --- a/.github/workflows/Secp_Disabled_Tests.yml +++ b/.github/workflows/Secp_Disabled_Tests.yml @@ -1,4 +1,5 @@ name: Secp256k1 Disabled Core Test +timeout-minutes: 60 env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} diff --git a/.github/workflows/Windows.yml b/.github/workflows/Windows.yml index 6a7415d34e..22fd681b9c 100644 --- a/.github/workflows/Windows.yml +++ b/.github/workflows/Windows.yml @@ -1,4 +1,5 @@ name: Windows Tests +timeout-minutes: 60 env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index b5c4f80880..31e83e5f6c 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -1,5 +1,6 @@ # https://docs.docker.com/ci-cd/github-actions/ name: CI to Docker Hub +timeout-minutes: 60 on: push: branches: [master, main, adaptor-dlc] diff --git a/.github/workflows/native.yml b/.github/workflows/native.yml index 3aab03719f..75868640e5 100644 --- a/.github/workflows/native.yml +++ b/.github/workflows/native.yml @@ -1,6 +1,7 @@ # Docs: # https://github.com/scalameta/sbt-native-image#generate-native-image-from-github-actions name: Native Image bitcoin-s-cli +timeout-minutes: 60 on: push: branches: [master, main, adaptor-dlc] diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 40b768a698..42545beb51 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,5 @@ name: Release +timeout-minutes: 60 on: push: branches: [master, main, adaptor-dlc]