Skip to content

Commit

Permalink
circleci for test cov
Browse files Browse the repository at this point in the history
  • Loading branch information
breimers committed Apr 10, 2020
1 parent 06c218c commit f5052e3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,17 @@ jobs:
- run:
name: Run tests
command: |
mkdir -p coverage
./cc-test-reporter before-build
coverage run ./manage.py test
coverage xml -o coverage.xml
cp coverage.xml coverage/coverage.xml
- run:
name: Code Climate Test Coverage
command: |
./cc-test-reporter format-coverage -t coverage.py -o codeclimate.json
- store_test_results:
root: .
path: coverage.xml
path: coverage
- run:
name: Upload coveragee
command: |
Expand Down

0 comments on commit f5052e3

Please sign in to comment.