diff --git a/.circleci/config.yml b/.circleci/config.yml index 88d3d4598..2aa180822 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,6 +11,11 @@ jobs: - image: circleci/python:3.6.4 environment: SECRET_KEY: abcd + DATABASE_URL: mysql://root:password@127.0.0.1/promgen?charset=utf8mb4 + - image: mysql:5.7 + environment: + MYSQL_ROOT_PASSWORD: password + MYSQL_DATABASE: test_promgen steps: - checkout - run: @@ -23,7 +28,7 @@ jobs: - run: mkdir -p test-results - run: python3 -m venv .venv - run: .venv/bin/pip install -r docker/requirements.txt - - run: .venv/bin/pip install -e .[dev] + - run: .venv/bin/pip install -e .[dev,mysql] - run: .venv/bin/promgen test --with-xunit --xunit-file test-results/nosetests.xml - run: .venv/bin/codecov - store_test_results: