Skip to content

Commit

Permalink
Add job timeouts to all the jobs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kami committed Oct 26, 2021
1 parent 6a5eafc commit eb655e4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
timeout-minutes: 12

needs: pre_job
if: ${{ needs.pre_job.outputs.should_skip == 'false' || github.ref == 'refs/heads/trunk' }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/install_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
install_and_verify:
name: Install latest stable version
runs-on: ubuntu-latest
timeout-minutes: 5
timeout-minutes: 2

strategy:
fail-fast: false
Expand All @@ -42,6 +42,7 @@ jobs:

- name: Install Libcloud
run: |
python --version
pip show apache-libcloud && exit 1
pip install apache-libcloud
pip show apache-libcloud
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
unit_tests:
name: Run Unit Tests And Install Checks
runs-on: ${{ matrix.os }}
timeout-minutes: 8

needs: pre_job
if: ${{ needs.pre_job.outputs.should_skip == 'false' || github.ref == 'refs/heads/trunk' }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish_pricing_to_s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
generate_and_publish_pricing_data:
name: Generate and Publish Pricing file to S3
runs-on: ubuntu-latest
timeout-minutes: 5

strategy:
matrix:
Expand Down

0 comments on commit eb655e4

Please sign in to comment.