This adds a new CI/CD workflow to perform regression testing on our template using percy. The rough steps are:
Clone and build the template-regression-test repo in the same way that our other sites are built, using the next-gen-staging branch of this template repository.
Take snapshots of the built site using percy on the generated _site folder.
Note: I am intentionally not force pushing to next-gen-staging as it is already done through the deployment job. Also, we are limited to only 25,000 snapshots per month, which might be easily hit if we have many pages on the regression template. For now it should be fine but we will fine-tune if we run into this limit.
This adds a new CI/CD workflow to perform regression testing on our template using percy. The rough steps are:
template-regression-test
repo in the same way that our other sites are built, using thenext-gen-staging
branch of this template repository._site
folder.Note: I am intentionally not force pushing to
next-gen-staging
as it is already done through the deployment job. Also, we are limited to only 25,000 snapshots per month, which might be easily hit if we have many pages on the regression template. For now it should be fine but we will fine-tune if we run into this limit.