Merge pull request #95 from minrk/fix-coverage

fix coverage uploads
This commit is contained in:
Yuvi Panda
2018-08-01 10:00:35 -07:00
committed by GitHub

View File

@@ -14,7 +14,7 @@ jobs:
- run:
name: install python
command: |
apt-get update --yes && apt-get install --yes python3 python3-venv
apt-get update --yes && apt-get install --yes python3 python3-venv git
# Download and cache dependencies
- restore_cache:
@@ -26,12 +26,13 @@ jobs:
name: Setup venv
command: |
python3 -m venv /srv/venv
echo 'export PATH=/srv/venv/bin:$PATH' >> $BASH_ENV
- run:
name: install dependencies
command: |
/srv/venv/bin/pip install -r dev-requirements.txt
/srv/venv/bin/pip install -e .
pip install -r dev-requirements.txt
pip install -e .
- save_cache:
paths:
@@ -41,12 +42,12 @@ jobs:
- run:
name: run unit tests
command: |
/srv/venv/bin/py.test --cov=tljh tests/
py.test --cov=tljh tests/
- run:
name: upload code coverage stats
command: |
/srv/venv/bin/codecov
codecov
integration-test:
docker: