Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimised to use Cypress base actions #1246

Merged
merged 1 commit into from
Dec 12, 2024
Merged

Optimised to use Cypress base actions #1246

merged 1 commit into from
Dec 12, 2024

Conversation

DrizzlyOwl
Copy link
Collaborator

@DrizzlyOwl DrizzlyOwl commented Dec 11, 2024

Use the official Cypress image for running CI tests, instead of rolling our own.

The main advantage is cache of binaries (browsers) and packages are maintained upstream for us.

Using the cypress:browsers image also ensures we are pinned to a specific collection of browsers in case the GitHub runner updates it upstream.

I've added a browser matrix strategy too in case we want to run the same set of tests against multiple browsers in the future.

--
Successful GitHub Action run:
https://github.com/DFE-Digital/prepare-academy-conversions/actions/runs/12281760747

@FahadDarw FahadDarw merged commit 4c2c728 into main Dec 12, 2024
1 check passed
@FahadDarw FahadDarw deleted the workflow/cypress branch December 12, 2024 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants