E56F ci: do not run 3.6 tests by default (#880) · googleapis/google-cloud-python@f5f451d · GitHub
[go: up one dir, main page]

Skip to content

Commit f5f451d

Browse files
ci: do not run 3.6 tests by default (#880)
Copied from GoogleCloudPlatform/python-docs-samples#7409 Co-authored-by: Anna Cocuzzo <63511057+acocuzzo@users.noreply.github.com>
1 parent 68b2d38 commit f5f451d

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

packages/google-cloud-pubsub/samples/snippets/noxfile_config.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2020 Google LLC
1+
# Copyright 2021 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -14,15 +14,15 @@
1414

1515
# Default TEST_CONFIG_OVERRIDE for python repos.
1616

17-
# You can copy this file into your directory, then it will be inported from
17+
# You can copy this file into your directory, then it will be imported from
1818
# the noxfile.py.
1919

2020
# The source of truth:
21-
# https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/noxfile_config.py
21+
# https://github.com/GoogleCloudPlatform/python-docs-samples/blob/main/noxfile_config.py
2222

2323
TEST_CONFIG_OVERRIDE = {
2424
# You can opt out from the test for specific Python versions.
25-
"ignored_versions": ["2.7"],
25+
"ignored_versions": ["2.7", "3.6"],
2626
# Old samples are opted out of enforcing Python type hints
2727
# All new samples should feature them
2828
"enforce_type_hints": True,
@@ -32,6 +32,10 @@
3232
# to use your own Cloud project.
3333
"gcloud_project_env": "GOOGLE_CLOUD_PROJECT",
3434
# 'gcloud_project_env': 'BUILD_SPECIFIC_GCLOUD_PROJECT',
35+
# If you need to use a specific version of pip,
36+
# change pip_version_override to the string representation
37+
# of the version number, for example, "20.2.4"
38+
"pip_version_override": None,
3539
# A dictionary you want to inject into your test. Don't put any
3640
# secrets here. These values will override predefined values.
3741
"envs": {},

0 commit comments

Comments
 (0)
0