Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 4 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: "%"
Expand All @@ -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
Expand Down
7 changes: 7 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down