Skip to content

Commit

Permalink
Database settings
Browse files Browse the repository at this point in the history
  • Loading branch information
kfdm committed Feb 28, 2020
1 parent 289f00d commit 960eee9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -23,8 +28,8 @@ 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/promgen test --with-xunit --xunit-file test-results/nosetests.xml
- run: .venv/bin/pip install -e .[dev,mysql]
- run: .venv/bin/promgen test --with-xunit --xunit-file test-results/nosetests.xml --noinput
- run: .venv/bin/codecov
- store_test_results:
path: test-results

0 comments on commit 960eee9

Please sign in to comment.