diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..3c771594 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,22 @@ +version: 2 +jobs: + build: + working_directory: ~/example-python + docker: + - image: circleci/python:3.7 + steps: + - checkout + - run: + command: + sudo pip install --upgrade pip + - run: mkdir test-reports + - run: + command: + sudo pip install coverage + - run: + command: + coverage run tests.py && coverage xml -o test-reports/coverage.xml + + - store_artifacts: + path: test-reports + destination: test-reports