Skip to content

Commit

Permalink
add timeout to all actions that runs hercules
Browse files Browse the repository at this point in the history
sometimes the test execution freezes but doesn't fail.
Those tests usually take 30 minutes in the worst case, so using
a timeout of 1 hour will prevent jobs from staying running for
6 hours until the default timeout stops them.
  • Loading branch information
guilherme-gm committed Jul 9, 2023
1 parent caf051e commit 7622179
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
matrix:
# gcc, clang-8, clang-9 removed for reduce number of jobs
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/clang15_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
matrix:
CC: [clang-15]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/gcc_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
matrix:
CC: [gcc]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/gccold1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
matrix:
CC: ["gcc-10", "gcc-9"]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/gccold2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
matrix:
CC: ["gcc-8", "gcc-7"]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/gccold3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
matrix:
CC: ["gcc-6", "gcc-5", "gcc-4.8"]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/gccsnapshot_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
matrix:
CC: [gcc]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/mariadb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
matrix:
CC: [gcc]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
matrix:
CC: [gcc]
Expand Down

0 comments on commit 7622179

Please sign in to comment.