Content Blocks: Add configuration for running tests locally
ChrisWiegman opened this issue · comments
Chris Wiegman commented
As maintainers of the Content Blocks plugin, it would be nice to be able to easily run the test suites locally, to get faster feedback and improve velocity. Having to wait for GitHub to run the tests is slower and potentially wastes computing resources.
Acceptance Criteria
- A Docker config is created for running phpunit tests
- A Makefile is created to run the phpunit tests within Docker
- Documentation is written explaining how to run the tests locally (can go in README.md for now)
- The npm run test-e2e command works properly, or is replaced with something that does. (It currently fails and appears to require additional steps)
Notes
Chris Wiegman commented
Closing as we do have a way to do this, we can further automate this later if needed.