navapbc / template-infra

A template to set up foundational infrastructure for your application in AWS
Apache License 2.0
11 stars 2 forks source link

Add sharding capabilities to e2e tests #720

Closed lorenyu closed 3 weeks ago

lorenyu commented 3 months ago

It seems GitHub Actions is limited to a single worker when running Playwright e2e tests. Solutions include larger runners or test sharding. Test sharding seems like a pretty feasible to implement solution that wouldn't require the additional cost of managing larger runners.

This ticket is to add test sharding.

Implementation notes

Add sharding and using GitHub jobs matrix strategy.

See 🔒 slack thread

lorenyu commented 3 months ago

cc @rylew1