Skip to content

Commit

Permalink
Merge pull request #88 from siliconcompiler/add-timeout
Browse files Browse the repository at this point in the history
add timeout control
  • Loading branch information
gadfort authored Jun 27, 2024
2 parents 94a398f + 54091f1 commit 70e7e91
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/run-designs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ on:
type: string
default: default
description: types of designs to run
timeout:
required: false
type: number
default: 120
description: timeout for design matrix in minutes

name: 'All Gallery Designs Workflow'

Expand Down Expand Up @@ -57,6 +62,7 @@ jobs:
run: |
python3 -m venv .venv
. .venv/bin/activate
pip3 install .
# Remove current design matrix
rm $GITHUB_WORKSPACE/.github/workflows/config/designs.json
Expand Down Expand Up @@ -173,7 +179,7 @@ jobs:
pip install -e ./lambdapdk
- name: Run gallery
timeout-minutes: 120
timeout-minutes: ${{ inputs.timeout }}
run: |
REMOTE_ARGS=""
if [[ "${{ matrix.remote }}" = "true" ]] ; then
Expand Down

0 comments on commit 70e7e91

Please sign in to comment.