Skip to content

Commit 87b0d71

Browse files
committed
specify sessions for Kokoro job
1 parent aea3f56 commit 87b0d71

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

noxfile.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,23 @@
4141
# Error if a python version is missing
4242
nox.options.error_on_missing_interpreters = True
4343

44+
# pypy will be run as a github action instead of through Kokoro
45+
nox.options.sessions = [
46+
"lint",
47+
"blacken",
48+
"mypy",
49+
# TODO(https://github.com/googleapis/python-storage/issues/1499):
50+
# Remove or restore testing for Python 3.7/3.8
51+
"unit-3.9",
52+
"unit-3.10",
53+
"unit-3.11",
54+
"unit-3.12",
55+
"unit-3.13",
56+
# cover must be last to avoid error `No data to report`
57+
"cover",
58+
"docs",
59+
]
60+
4461

4562
@nox.session(python=DEFAULT_PYTHON_VERSION)
4663
def lint(session):

0 commit comments

Comments
 (0)