Skip to content

Commit

Permalink
tests: skip snipptes/samples in main Kokoro build
Browse files Browse the repository at this point in the history
Toward #191.
  • Loading branch information
tseaver committed Jul 30, 2020
1 parent 8fe7254 commit e991ca4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .kokoro/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/service-account.json
# Setup project id.
export PROJECT_ID=$(cat "${KOKORO_GFILE_DIR}/project-id.json")

export SESSIONS=$(nox --list | grep "^\*" | cut -d " " -f 2 | grep -v snippets)

# Remove old nox
python3.6 -m pip uninstall --yes --quiet nox-automation

# Install nox
python3.6 -m pip install --upgrade --quiet nox
python3.6 -m nox --version

python3.6 -m nox
python3.6 -m nox $SESSIONS

0 comments on commit e991ca4

Please sign in to comment.