cypress-io / github-action

GitHub Action for running Cypress end-to-end & component tests
https://on.cypress.io/guides/continuous-integration/github-actions
MIT License
1.35k stars 357 forks source link

ci: add ubuntu 24.04 to tested operating systems #1181

Closed MikeMcC399 closed 1 month ago

MikeMcC399 commented 3 months ago

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 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

cypress-app-bot commented 3 months ago
MikeMcC399 commented 3 months ago

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.

MikeMcC399 commented 3 months ago
MikeMcC399 commented 1 month ago

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.