mirror of
https://github.com/status-im/cabot.git
synced 2025-02-25 02:45:16 +00:00
15 lines
329 B
Plaintext
15 lines
329 B
Plaintext
|
#!/bin/bash
|
||
|
set -x
|
||
|
|
||
|
output_dir='test-results'
|
||
|
mkdir -p $output_dir
|
||
|
|
||
|
coverage run --source="./cabot/" manage.py test
|
||
|
status=$?
|
||
|
|
||
|
coverage report --omit="cabot/cabotapp/tests*"
|
||
|
coverage xml --omit="cabot/cabotapp/tests*" -o $output_dir/coverage.xml
|
||
|
coverage html --omit="cabot/cabotapp/tests*" -d $output_dir/htmlcov/
|
||
|
|
||
|
exit $status
|