Merge pull request #193 from loles/fix-coverage
Run py.test from solar dir
This commit is contained in:
commit
490e7bd312
@ -7,4 +7,4 @@ script:
|
|||||||
services:
|
services:
|
||||||
- redis-server
|
- redis-server
|
||||||
after_success:
|
after_success:
|
||||||
cd solar/solar && coveralls
|
cd solar && coveralls
|
||||||
|
@ -31,6 +31,6 @@ fi
|
|||||||
|
|
||||||
pip install -r solar/test-requirements.txt --download-cache=/tmp/$JOB_NAME
|
pip install -r solar/test-requirements.txt --download-cache=/tmp/$JOB_NAME
|
||||||
|
|
||||||
pushd solar/solar
|
pushd solar
|
||||||
|
|
||||||
PYTHONPATH=$WORKSPACE/solar CONFIG_FILE=$CONFIG_FILE py.test --cov=solar -s test/
|
PYTHONPATH=$WORKSPACE/solar CONFIG_FILE=$CONFIG_FILE py.test --cov=solar -s solar
|
||||||
|
Loading…
Reference in New Issue
Block a user