-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move GAE environment setup to nox #61
Conversation
@@ -208,4 +214,37 @@ def session_compute_engine(session): | |||
|
|||
def session_app_engine(session): | |||
session.virtualenv = False | |||
session.run('pytest', 'app_engine/test_app_engine.py') | |||
|
|||
if SKIP_GAE_TEST_ENV in os.environ: |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
# Grab the project ID from the cloud sdk. | ||
project_id = subprocess.check_output([ | ||
'gcloud', 'config', 'list', 'project', '--format', | ||
'value(core.project)']).strip() |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
||
import os | ||
|
||
TEST_APP_URL = os.environ['TEST_APP_URL'] |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
LGTM |
No description provided.