diff --git a/.circleci/config.yml b/.circleci/config.yml index 88d3d4598..73c214eb1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,6 +11,12 @@ jobs: - image: circleci/python:3.6.4 environment: SECRET_KEY: abcd + DATABASE_URL: mysql://root:rootpw@localhost/promgen?charset=utf8mb4 + - image: circleci/mysql:8.0.4 + environment: + MYSQL_ROOT_PASSWORD: rootpw + MYSQL_DATABASE: test_promgen + MYSQL_USER: root steps: - checkout - run: @@ -23,7 +29,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: