Skip to content

Commit

Permalink
ensure that coverage is aggregated
Browse files Browse the repository at this point in the history
Make sure that pytest-cov will aggregate the coverage resulsts from the
cram test run.
  • Loading branch information
esc committed Mar 11, 2021
1 parent d17d93b commit 2b64660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ echo "Testing command line interface with cram"
COVERAGE=1 cram --verbose $@ test_cmdline/*.cram
cram_exit=$?
echo "Executing unit tests with pytest"
PYTHONPATH=. pytest --cov=bloscpack test
PYTHONPATH=. pytest --cov=bloscpack --cov-append test
pytest_exit=$?
if [ $cram_exit -gt 0 ] || [ $pytest_exit -gt 0 ] ; then
echo "some tests failed"
Expand Down

0 comments on commit 2b64660

Please sign in to comment.