mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-19 02:17:35 +03:00
Force 60 minutes timeout for all regular CI jobs (#12486)
After gazing at https://github.com/zed-industries/zed/actions/runs/9296132630/job/25596939148 for some time, I've decided to add a hard limit on every test-related CI job. Release Notes: - N/A
This commit is contained in:
parent
bf7c6a676a
commit
3c5d141a04
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -23,6 +23,7 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
style:
|
style:
|
||||||
|
timeout-minutes: 60
|
||||||
name: Check formatting and spelling
|
name: Check formatting and spelling
|
||||||
runs-on:
|
runs-on:
|
||||||
- self-hosted
|
- self-hosted
|
||||||
@ -77,6 +78,7 @@ jobs:
|
|||||||
against: "https://github.com/${GITHUB_REPOSITORY}.git#branch=${BUF_BASE_BRANCH},subdir=crates/rpc/proto/"
|
against: "https://github.com/${GITHUB_REPOSITORY}.git#branch=${BUF_BASE_BRANCH},subdir=crates/rpc/proto/"
|
||||||
|
|
||||||
macos_tests:
|
macos_tests:
|
||||||
|
timeout-minutes: 60
|
||||||
name: (macOS) Run Clippy and tests
|
name: (macOS) Run Clippy and tests
|
||||||
runs-on:
|
runs-on:
|
||||||
- self-hosted
|
- self-hosted
|
||||||
@ -101,6 +103,7 @@ jobs:
|
|||||||
|
|
||||||
# todo(linux): Actually run the tests
|
# todo(linux): Actually run the tests
|
||||||
linux_tests:
|
linux_tests:
|
||||||
|
timeout-minutes: 60
|
||||||
name: (Linux) Run Clippy and tests
|
name: (Linux) Run Clippy and tests
|
||||||
runs-on:
|
runs-on:
|
||||||
- self-hosted
|
- self-hosted
|
||||||
@ -122,6 +125,7 @@ jobs:
|
|||||||
|
|
||||||
# todo(windows): Actually run the tests
|
# todo(windows): Actually run the tests
|
||||||
windows_tests:
|
windows_tests:
|
||||||
|
timeout-minutes: 60
|
||||||
name: (Windows) Run Clippy and tests
|
name: (Windows) Run Clippy and tests
|
||||||
runs-on: hosted-windows-1
|
runs-on: hosted-windows-1
|
||||||
steps:
|
steps:
|
||||||
@ -142,6 +146,7 @@ jobs:
|
|||||||
run: cargo build -p zed
|
run: cargo build -p zed
|
||||||
|
|
||||||
bundle-mac:
|
bundle-mac:
|
||||||
|
timeout-minutes: 60
|
||||||
name: Create a macOS bundle
|
name: Create a macOS bundle
|
||||||
runs-on:
|
runs-on:
|
||||||
- self-hosted
|
- self-hosted
|
||||||
@ -252,6 +257,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
bundle-linux:
|
bundle-linux:
|
||||||
|
timeout-minutes: 60
|
||||||
name: Create a Linux bundle
|
name: Create a Linux bundle
|
||||||
runs-on:
|
runs-on:
|
||||||
- self-hosted
|
- self-hosted
|
||||||
|
4
.github/workflows/release_nightly.yml
vendored
4
.github/workflows/release_nightly.yml
vendored
@ -15,6 +15,7 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
style:
|
style:
|
||||||
|
timeout-minutes: 60
|
||||||
name: Check formatting and Clippy lints
|
name: Check formatting and Clippy lints
|
||||||
if: github.repository_owner == 'zed-industries'
|
if: github.repository_owner == 'zed-industries'
|
||||||
runs-on:
|
runs-on:
|
||||||
@ -33,6 +34,7 @@ jobs:
|
|||||||
- name: Run clippy
|
- name: Run clippy
|
||||||
run: cargo xtask clippy
|
run: cargo xtask clippy
|
||||||
tests:
|
tests:
|
||||||
|
timeout-minutes: 60
|
||||||
name: Run tests
|
name: Run tests
|
||||||
if: github.repository_owner == 'zed-industries'
|
if: github.repository_owner == 'zed-industries'
|
||||||
runs-on:
|
runs-on:
|
||||||
@ -49,6 +51,7 @@ jobs:
|
|||||||
uses: ./.github/actions/run_tests
|
uses: ./.github/actions/run_tests
|
||||||
|
|
||||||
bundle-mac:
|
bundle-mac:
|
||||||
|
timeout-minutes: 60
|
||||||
name: Create a macOS bundle
|
name: Create a macOS bundle
|
||||||
if: github.repository_owner == 'zed-industries'
|
if: github.repository_owner == 'zed-industries'
|
||||||
runs-on:
|
runs-on:
|
||||||
@ -91,6 +94,7 @@ jobs:
|
|||||||
run: script/upload-nightly macos
|
run: script/upload-nightly macos
|
||||||
|
|
||||||
bundle-deb:
|
bundle-deb:
|
||||||
|
timeout-minutes: 60
|
||||||
name: Create a Linux *.tar.gz bundle
|
name: Create a Linux *.tar.gz bundle
|
||||||
if: github.repository_owner == 'zed-industries'
|
if: github.repository_owner == 'zed-industries'
|
||||||
runs-on:
|
runs-on:
|
||||||
|
Loading…
Reference in New Issue
Block a user