Skip to content

Commit

Permalink
CircleCI config tweak, suppress datastore logging
Browse files Browse the repository at this point in the history
  • Loading branch information
snarfed committed Jan 14, 2022
1 parent 222b4f8 commit cd53545
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Expand Up @@ -15,10 +15,10 @@ jobs:

- restore_cache:
keys:
- venv-7-{{ .Branch }}-{{ checksum "requirements.txt" }}-{{ checksum "setup.py" }}
- venv-7-{{ .Branch }}-{{ checksum "requirements.txt" }}
- venv-7-{{ .Branch }}
- venv-7
- venv-8-{{ .Branch }}-{{ checksum "requirements.txt" }}-{{ checksum "setup.py" }}
- venv-8-{{ .Branch }}-{{ checksum "requirements.txt" }}
- venv-8-{{ .Branch }}
- venv-8

- run:
name: Install dependencies
Expand All @@ -33,15 +33,15 @@ jobs:
- run:
name: Run tests
command: |
CLOUDSDK_CORE_PROJECT=oauth-dropins gcloud beta emulators datastore start --no-store-on-disk --consistency=1.0 --host-port=localhost:8089 --quiet &
CLOUDSDK_CORE_PROJECT=oauth-dropins gcloud beta emulators datastore start --no-store-on-disk --consistency=1.0 --host-port=localhost:8089 < /dev/null >& /dev/null &
sleep 5s
python3 -m coverage run --include=oauth_dropins/webutil/handlers.py,oauth_dropins/webutil/models.py,oauth_dropins/webutil/util.py -m unittest discover -v -p 'test_*.py'
kill %1
python3 -m coverage html -d /tmp/coverage_html
if [ "$COVERALLS_REPO_TOKEN" != "" ]; then coveralls || true; fi
- save_cache:
key: venv-7-{{ .Branch }}-{{ checksum "requirements.txt" }}-{{ checksum "setup.py" }}
key: venv-8-{{ .Branch }}-{{ checksum "requirements.txt" }}-{{ checksum "setup.py" }}
paths:
- "/usr/local/lib/python3.7/dist-packages/"

Expand Down

0 comments on commit cd53545

Please sign in to comment.