Supabase Edge Function testing with Branching #34622
Unanswered
OwenPolybox
asked this question in
Questions
Replies: 1 comment
-
You're edge functions can be tested within the CI/CD pipeline as recommended by the documentation. Since edge function deployments are not stateful, if the tests pass in a local setup it should work the same when hosted on supabase. However for the database, since it's schema is stateful, i think it would be interesting to run Playwright tests against the preview instance of supabase for that purpose. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We're using Next + Vercel + Supabase and have the branching feature enabled - creating a new branch when we do a pull request with the built in action with the Vercel + Supabase integration.
Does anyone have any advice around testing? We were thinking of using Playwright to test on the preview branch.
We want to test the Supabase Edge Functions, but it's not clear if the GitHub integration that's running runs the Deno/Edge function tests. Would we have to write a custom action as in the docs here.
Beta Was this translation helpful? Give feedback.
All reactions