awslabs / green-boost

Build Full Stack Cloud Native Web Apps on AWS Fast
https://awslabs.github.io/green-boost/
Apache License 2.0
70 stars 8 forks source link

e2e tests for `gboost create` #205

Open bestickley opened 1 year ago

bestickley commented 1 year ago

We need end-to-end tests for gboost create. This would involve updating GitHub actions to run gboost create for each template and typecheck, lint, and run unit tests for each template, deploy it, then destroy it. There is already a script that does this at packages/gboost/tests/test-create.ts but it likely needs to be tweaked and github config updated at .github/ folder. I'd like these tests to only run if an update happens to packages/gboost/templates folder which should be easily configured within GitHub action. We'll need to inject AWS credentials into process which we should be able to get via GitHub OIDC provider that's already setup.