ci: add ubuntu 24.04 to tested operating systems
Change
An Ubuntu 24.04 job is added to the workflow .github/workflows/example-basic.yml to demonstrate the capability of Cypress to run under this newly-released OS version. This is in addition to the Ubuntu 20.04 and 22.04 jobs in the workflow.
A timeout-minutes: 10 of 10 minutes is added to each of the jobs as documented in the README > Timeouts section. This is a best practice in any case and is added as a precaution due to the beta status of the Ubuntu 24.04 runner (see below).
Other workflows are not changed at this time.
Background
- Ubuntu 24.04 LTS was released on April 24, 2024.
- GitHub Actions now makes an Ubuntu 24.04 LTS runner image available in the overview on GitHub Actions Runner Images using the YAML Label
ubuntu-24.04. The Labelubuntu-latestremains equivalent to the earlierubuntu-22.04. - The beta release of the runner was announced on May 14, 2024 GitHub-hosted runners: Public Beta of Ubuntu 24.04 is now available
- Create a Draft Pull Request if your PR is not ready for review. Mark the PR as Ready for Review when you're ready for a Cypress team member to review the PR.
There is not yet a Firefox or Edge browser in the ubuntu-24.04 beta image, so at the moment it is just for preliminary use. I will leave this PR in draft status until the image is updated.
- See also issue https://github.com/cypress-io/cypress/issues/29521
Ubuntu 24.04 is still not available with other browsers.
I would rework the workflow later and use a matrix setup, like now implemented in https://github.com/cypress-io/github-action/blob/master/.github/workflows/example-basic-pnpm.yml.