Skip to content

Conversation

@EmmaLRussell
Copy link
Contributor

@EmmaLRussell EmmaLRussell commented Nov 13, 2025

Adds a tests.yml workflow which runs the unit tests and e2e tests.

The e2e tests run against preview build on CI and against dev run locally, so we need to remember to build the app before we run e2e on CI.

I've also added coverage build and codecov integration.

I moved both unit tests and e2e tests into a top level /tests folder.

A lot of the line diffs come from updating the package lock. Doing npm ci in gha seemed to be rather sensitive to the node minor version. I've pinned this in the workflows.

@codecov
Copy link

codecov bot commented Nov 13, 2025

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@EmmaLRussell EmmaLRussell changed the base branch from vimc-8784-add-build-to-gha to main November 14, 2025 12:29
@EmmaLRussell EmmaLRussell force-pushed the vimc-8785-tests-workfow branch from 3ac3589 to 4ba6b35 Compare November 14, 2025 12:59
@EmmaLRussell EmmaLRussell marked this pull request as ready for review November 14, 2025 13:06
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.

2 participants