Skip to content

Commit

Permalink
Merge pull request #144 from oracle/timeouts
Browse files Browse the repository at this point in the history
Add `timeout-minutes` to all build jobs.
  • Loading branch information
dnestoro authored Dec 7, 2022
2 parents ceec46a + f7f30e4 commit 7053700
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ jobs:
validate-library-and-framework-list-json:
name: "📋 Checks if the json file is written according to the existing schema"
runs-on: "ubuntu-20.04"
timeout-minutes: 5
steps:
- name: "☁️ Checkout repository"
uses: actions/checkout@v3
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-all-metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
get-all-metadata:
name: "📋 Get list of all supported libraries"
runs-on: "ubuntu-20.04"
timeout-minutes: 5
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
Expand All @@ -37,6 +38,7 @@ jobs:
test-all-metadata:
name: "🧪 ${{ matrix.coordinates }} (GraalVM ${{ matrix.version }} ${{ matrix.java-version }} @ ${{ matrix.os }})"
runs-on: ${{ matrix.os }}
timeout-minutes: 20
needs: get-all-metadata
strategy:
fail-fast: false
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-changed-metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
get-changed-metadata:
name: "📋 Get a list of all changed libraries"
runs-on: "ubuntu-20.04"
timeout-minutes: 5
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
none-found: ${{ steps.set-matrix.outputs.none-found }}
Expand All @@ -40,6 +41,7 @@ jobs:
name: "🧪 ${{ matrix.coordinates }} (GraalVM ${{ matrix.version }} ${{ matrix.java-version }} @ ${{ matrix.os }})"
if: needs.get-changed-metadata.result == 'success' && needs.get-changed-metadata.outputs.none-found != 'true'
runs-on: ${{ matrix.os }}
timeout-minutes: 20
needs: get-changed-metadata

strategy:
Expand Down

0 comments on commit 7053700

Please sign in to comment.