Skip to content

Commit

Permalink
Add workflow timeouts (#9422)
Browse files Browse the repository at this point in the history
  • Loading branch information
dwidge authored Dec 8, 2024
1 parent 6616cd1 commit 46dd3d2
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ jobs:
publish:
name: Publish
runs-on: ubuntu-latest
timeout-minutes: 10
environment: Release
steps:
- uses: actions/checkout@main
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish_snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
publish_snapshot:
name: Publish (Snapshot)
runs-on: ubuntu-latest
timeout-minutes: 10
environment: Release
steps:
- uses: actions/checkout@main
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/tests_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
linting:
name: Linting
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@main
- uses: ./.github/actions/ci-setup
Expand All @@ -34,6 +35,7 @@ jobs:
linting-examples:
name: Linting
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@main
- uses: ./.github/actions/ci-setup-examples
Expand All @@ -44,6 +46,7 @@ jobs:
unit_tests:
name: Package Unit Tests
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@main
- uses: ./.github/actions/ci-setup
Expand All @@ -54,6 +57,7 @@ jobs:
graphql_api_tests_postgresql:
name: API Tests PostgreSQL
runs-on: ubuntu-latest
timeout-minutes: 10
services:
postgres:
image: postgres:17
Expand All @@ -79,6 +83,7 @@ jobs:
graphql_api_tests_sqlite:
name: API Tests SQLite
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
Expand All @@ -95,6 +100,7 @@ jobs:
graphql_api_tests_mysql:
name: API Tests MySQL
runs-on: ubuntu-latest
timeout-minutes: 10
services:
mysql:
image: mariadb:11.6
Expand All @@ -118,6 +124,7 @@ jobs:
field_crud_tests_postgresql:
name: Field CRUD Tests PostgreSQL
runs-on: ubuntu-latest
timeout-minutes: 10
services:
postgres:
image: postgres:17
Expand Down Expand Up @@ -149,6 +156,7 @@ jobs:
field_crud_tests_sqlite:
name: Field CRUD Tests SQLite
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@main
- uses: ./.github/actions/ci-setup
Expand All @@ -171,6 +179,7 @@ jobs:
field_crud_tests_mysql:
name: Field CRUD Tests MySQL
runs-on: ubuntu-latest
timeout-minutes: 10
services:
mysql:
image: mariadb:11.6
Expand Down Expand Up @@ -200,6 +209,7 @@ jobs:
examples_tests:
name: Testing example project
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@main
- uses: ./.github/actions/ci-setup-examples
Expand All @@ -210,6 +220,7 @@ jobs:
examples_next_app_build:
name: Ensure Next in App directory builds
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@main
- uses: ./.github/actions/ci-setup-examples
Expand All @@ -220,6 +231,7 @@ jobs:
examples_smoke_tests:
name: Smoke Tests For Examples
runs-on: ubuntu-latest
timeout-minutes: 10
env:
DATABASE_URL: file:./test.db
strategy:
Expand Down Expand Up @@ -261,6 +273,7 @@ jobs:
admin_ui_integration_tests:
name: Integration tests for Admin UI
runs-on: ubuntu-latest
timeout-minutes: 10
env:
DATABASE_URL: file:./test.db
strategy:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tests_ci_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
unit_tests:
name: Package Unit Tests
runs-on: windows-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@main
- uses: ./.github/actions/ci-setup
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/website_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
VERCEL_ORG_ID: ${{ secrets.VERCEL_TEAM_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@main
- uses: ./.github/actions/ci-setup
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/website_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
VERCEL_ORG_ID: ${{ secrets.VERCEL_TEAM_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@main
- uses: ./.github/actions/ci-setup
Expand Down

0 comments on commit 46dd3d2

Please sign in to comment.