Skip to content

Commit e991ca4

Browse files
committed
tests: skip snipptes/samples in main Kokoro build
Toward #191.
1 parent 8fe7254 commit e991ca4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.kokoro/build.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,13 @@ export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/service-account.json
2929
# Setup project id.
3030
export PROJECT_ID=$(cat "${KOKORO_GFILE_DIR}/project-id.json")
3131

32+
export SESSIONS=$(nox --list | grep "^\*" | cut -d " " -f 2 | grep -v snippets)
33+
3234
# Remove old nox
3335
python3.6 -m pip uninstall --yes --quiet nox-automation
3436

3537
# Install nox
3638
python3.6 -m pip install --upgrade --quiet nox
3739
python3.6 -m nox --version
3840

39-
python3.6 -m nox
41+
python3.6 -m nox $SESSIONS

0 commit comments

Comments
 (0)