You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
have a NextJS project which uses Supabase as database, and uses Playwright for e2e testing. I successfully run e2e tests against my local Supabase Database.
I have tests for login, and sign up into my app. In my tests, I access local inbuket in order to verify user receives emails, and can signup correctly.
Now, I am trying to run e2e tests from Github Actions which should run against Github action local Supabase setup
My e2e tests need to access inbucket http://127.0.0.1:54324/api/v1, and also uses auth functions such as: await supabase.auth.signUp(), and await supabase.auth.admin.updateUserById().
How can I get keys for NEXT_PUBLIC_SUPABASE_ANON_KEY_LOCAL, and NEXT_PUBLIC_SUPABASE_SERVICE_KEY_LOCAL when running supabase locally on Github action?
When running Supabase locally I obtain those keys by running npx supabase status. However, when running that command from Github action, I only can see:
runner@fv-az1724-957:~/work/teacher-marketplace/teacher-marketplace$ supabase status
Stopped services: [supabase_kong_teacher-marketplace supabase_auth_teacher-marketplace supabase_inbucket_teacher-marketplace supabase_realtime_teacher-marketplace supabase_rest_teacher-marketplace supabase_storage_teacher-marketplace supabase_imgproxy_teacher-marketplace supabase_pg_meta_teacher-marketplace supabase_studio_teacher-marketplace supabase_edge_runtime_teacher-marketplace supabase_analytics_teacher-marketplace supabase_vector_teacher-marketplace supabase_pooler_teacher-marketplace]
supabase local development setup is running.
DB URL: postgresql://postgres:postgres@127.0.0.1:54322/postgres
How can I start those services, and get needed keys?
The text was updated successfully, but these errors were encountered:
Bug report
Describe the bug
have a NextJS project which uses Supabase as database, and uses Playwright for e2e testing. I successfully run e2e tests against my local Supabase Database.
I have tests for login, and sign up into my app. In my tests, I access local inbuket in order to verify user receives emails, and can signup correctly.
Now, I am trying to run e2e tests from Github Actions which should run against Github action local Supabase setup
To Reproduce
Here is my Github Action file:
Expected behavior
My e2e tests need to access inbucket
http://127.0.0.1:54324/api/v1
, and also uses auth functions such as:await supabase.auth.signUp()
, andawait supabase.auth.admin.updateUserById()
.How can I get keys for
NEXT_PUBLIC_SUPABASE_ANON_KEY_LOCAL
, andNEXT_PUBLIC_SUPABASE_SERVICE_KEY_LOCAL
when running supabase locally on Github action?When running Supabase locally I obtain those keys by running npx supabase status. However, when running that command from Github action, I only can see:
How can I start those services, and get needed keys?
The text was updated successfully, but these errors were encountered: