[php-src] PR #15589: CI: Add 60-minute timeouts to GitHub Actions and Cirrus CI
| From: | Ayesh | Date: | Mon, 26 Aug 2024 09:40:55 +0000 |
| Subject: | [php-src] PR #15589: CI: Add 60-minute timeouts to GitHub Actions and Cirrus CI | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28202@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15589
Author: Ayesh
Currently, there are no explicit timeouts set for CI jobs, which means the CI jobs will keep running
until they are terminated by the task runner. The current defaults of each provider are:
- GitHub Actions: 360 minutes[^1]
- Cirrus CI: 60 minutes[^2]
- Travis CI: 50 minutes[^3]
On Travis, the timeout is not configurable, and given that our test suite usually completes within
20 minutes, this commit explicitly sets timeouts for Cirrus CI and GitHub Actions to 50 minutes as
well.
[^1]: [GitHub Actions Workflow
Syntax](https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#jobsjob_idtimeout-minutes)
[^2]: [Cirrus CI FAQ](https://cirrus-ci.org/faq/#instance-timed-out)
[^3]: [Travis docs - customizing the
build](https://docs.travis-ci.com/user/customizing-the-build#build-timeouts)