python-discord / snekbox

Easy, safe evaluation of arbitrary Python code
https://pythondiscord.com
MIT License
214 stars 39 forks source link

Test deployment init container in CI #188

Closed ChrisLovering closed 1 year ago

ChrisLovering commented 1 year ago

This runs the same command, with the same env vars, that the init container in deployment.yaml does, but in CI.

Doing this gives us more reassurance that merging a PR will deploy to prod.

coveralls commented 1 year ago

Coverage Status

coverage: 90.947%. remained the same when pulling 818307f294f7efe1d2585daffe52b3ad6bde5062 on test-init-container-in-CI into 2b5f8a0d1f795092678f87ded0823f1b16cea63b on main.