diff --git a/.circleci/config.yml b/.circleci/config.yml index c490c04ef..e92cb166b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,7 +10,7 @@ jobs: ignore: - gh-pages docker: - - image: googleapis/nox:0.17.0 + - image: circleci/python:3.6.9 - image: mysql:5.7 environment: MYSQL_ROOT_HOST: "%" @@ -27,21 +27,12 @@ jobs: steps: - checkout - - run: - name: Decrypt credentials - command: | - if [ -n "$GOOGLE_APPLICATION_CREDENTIALS" ]; then - openssl aes-256-cbc -d -a -k "$GOOGLE_CREDENTIALS_PASSPHRASE" \ - -in tests/system/credentials.json.enc \ - -out $GOOGLE_APPLICATION_CREDENTIALS - else - echo "No credentials. System tests will not run." - fi - run: name: Run tests - opencensus command: | - pip install --upgrade nox - nox -f noxfile.py + sudo pip install --upgrade nox + python -c "import sqlite3" + nox -f noxfile.py -s sqlite_check - deploy: name: Push to PyPI (if this is a release tag). command: scripts/twine_upload.sh diff --git a/noxfile.py b/noxfile.py index 48e63b47b..a1de8f7fb 100644 --- a/noxfile.py +++ b/noxfile.py @@ -85,6 +85,13 @@ def unit(session): ) +@nox.session(python=['3.5', '3.6']) +def sqlite_check(session): + # _install_test_dependencies(session) + # _install_dev_packages(session) + session.run('python', '-c', 'import sqlite3') + + @nox.session(python=['2.7', '3.6']) def system(session): """Run the system test suite."""