ci: Automatically cancel bootstrap step after 1 hour in wpt linux/mach (#38358)

Introduces a timeout for each WPT run chunk job, set to 1 hour, after
which it will be automatically canceled.

Testing: 
Fixes: #38348

---------

Signed-off-by: Jerens Lensun <jerensslensun@gmail.com>
This commit is contained in:
Jerens Lensun 2025-07-31 15:24:23 +08:00 committed by GitHub
parent c09e117bfe
commit 36f1a373e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -65,6 +65,7 @@ jobs:
- name: Setup Python
uses: ./.github/actions/setup-python
- name: Bootstrap dependencies
timeout-minutes: 60
run: |
sudo apt update
sudo apt install -qy --no-install-recommends mesa-vulkan-drivers fonts-noto-cjk

View file

@ -40,6 +40,7 @@ jobs:
- name: Setup Python
uses: ./.github/actions/setup-python
- name: Prep test environment
timeout-minutes: 60
run: |
gtar -xzf target.tar.gz
./mach bootstrap --skip-lints