Skip to content
This repository was archived by the owner on Dec 31, 2023. It is now read-only.

Commit e2a3fb8

Browse files
committed
Testing nox stuff.
1 parent aed9059 commit e2a3fb8

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

samples/snippets/noxfile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171

7272
# Update the TEST_CONFIG with the user supplied values.
7373
TEST_CONFIG.update(TEST_CONFIG_OVERRIDE)
74+
print('Using test config: ', TEST_CONFIG)
7475

7576

7677
def get_pytest_env_vars() -> Dict[str, str]:
@@ -196,6 +197,8 @@ def _session_tests(session: nox.sessions.Session, post_install: Callable = None)
196197
if post_install:
197198
post_install(session)
198199

200+
print('Testing with envs: ', get_pytest_env_vars())
201+
199202
session.run(
200203
"pytest",
201204
*(PYTEST_COMMON_ARGS + session.posargs),

samples/snippets/noxfile_config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@
1616
# Tests in test_sample_default_values.py require separate projects to not interfere with each other.
1717
'gcloud_project_env': 'BUILD_SPECIFIC_GCLOUD_PROJECT',
1818
}
19+
print('Noxfile_config loaded')

0 commit comments

Comments
 (0)