Add conditional checks for E2E and billing tests (#34)

* Add conditional checks for E2E and billing tests

Added a conditional check to only run the End-to-End (E2E) workflow if the environment variable ENABLE_E2E_JOB is set to true. Also added a similar check in the Playwright configuration for running billing tests only if the ENABLE_BILLING_TESTS environment variable is 'true'. This will allow more control over the tests run in different environments.
This commit is contained in:
Giancarlo Buomprisco
2024-06-12 16:51:28 +08:00
committed by GitHub
parent cbd8941c37
commit ca5e02f509
3 changed files with 24 additions and 4 deletions

View File

@@ -36,7 +36,8 @@
"NEXT_PUBLIC_BASELIME_KEY",
"NEXT_PUBLIC_SUPABASE_URL",
"NEXT_PUBLIC_SUPABASE_ANON_KEY",
"SUPABASE_SERVICE_ROLE_KEY"
"SUPABASE_SERVICE_ROLE_KEY",
"ENABLE_BILLING_TESTS"
],
"tasks": {
"topo": {