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

docs(samples): Adding pagination sample. #78

Merged
merged 22 commits into from
Aug 10, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
a27aff8
feat: Adding pagination sample.
m-strzelczyk Jul 5, 2021
85ec4a2
Merge branch 'master' into compute-pagination
m-strzelczyk Jul 19, 2021
4ff53a8
feat: Adding regions and tests to pagination samples
m-strzelczyk Jul 19, 2021
c7fe346
chore: lint fix
m-strzelczyk Jul 19, 2021
531a17e
Merge branch 'master' into compute-pagination
parthea Jul 21, 2021
0693ec2
Apply suggestions from code review
m-strzelczyk Jul 22, 2021
6207353
chore: applying review comments.
m-strzelczyk Jul 22, 2021
d60a00c
fix: Make tests run in separate projects.
m-strzelczyk Jul 22, 2021
98ade2c
Revert "fix: Make tests run in separate projects."
m-strzelczyk Jul 22, 2021
6665ace
Merge branch 'master' into compute-pagination
m-strzelczyk Jul 22, 2021
856f244
trying to figure out the noxfile_config location
m-strzelczyk Jul 23, 2021
aed9059
Revert "trying to figure out the noxfile_config location"
m-strzelczyk Jul 23, 2021
e2a3fb8
Testing nox stuff.
m-strzelczyk Jul 23, 2021
c26385d
Revert "Testing nox stuff."
m-strzelczyk Jul 23, 2021
7185344
Merge branch 'master' into compute-pagination
m-strzelczyk Jul 26, 2021
5eef04a
Merge branch 'master' into compute-pagination
m-strzelczyk Jul 30, 2021
55d229b
chore: Making the default_values tests be more stable.
m-strzelczyk Aug 2, 2021
6d67628
Merge branch 'compute-pagination' of github.com:googleapis/python-com…
m-strzelczyk Aug 2, 2021
33d998c
Merge branch 'master' into compute-pagination
m-strzelczyk Aug 4, 2021
11a4261
Merge branch 'master' into compute-pagination
m-strzelczyk Aug 6, 2021
16f39a6
Apply suggestions from code review
m-strzelczyk Aug 9, 2021
8b9a8e1
Merge branch 'master' into compute-pagination
m-strzelczyk Aug 10, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Testing nox stuff.
  • Loading branch information
m-strzelczyk committed Jul 23, 2021
commit e2a3fb849465a8c4d170c65321070db25b0f90f7
3 changes: 3 additions & 0 deletions samples/snippets/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@

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


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

print('Testing with envs: ', get_pytest_env_vars())

session.run(
"pytest",
*(PYTEST_COMMON_ARGS + session.posargs),
Expand Down
1 change: 1 addition & 0 deletions samples/snippets/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@
# Tests in test_sample_default_values.py require separate projects to not interfere with each other.
'gcloud_project_env': 'BUILD_SPECIFIC_GCLOUD_PROJECT',
}
print('Noxfile_config loaded')