mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 11:21:16 +00:00
32 lines
673 B
Bash
32 lines
673 B
Bash
#!/bin/sh
|
|
|
|
rm -f $(find -name "*.pyc")
|
|
|
|
coverage erase
|
|
|
|
for f in $(find -name "*IntegrationTest.py")
|
|
do
|
|
coverage run --append $f
|
|
echo
|
|
done
|
|
|
|
echo "====================================================="
|
|
echo "|| Coverage of integration tests (for information) ||"
|
|
echo "====================================================="
|
|
coverage report -m --include=./*
|
|
echo
|
|
|
|
coverage erase
|
|
|
|
for f in $(find -name "*UnitTest.py")
|
|
do
|
|
coverage run --append $f --quiet
|
|
echo
|
|
done
|
|
|
|
echo "============================================"
|
|
echo "|| Coverage of unit tests (shall be 100%) ||"
|
|
echo "============================================"
|
|
coverage report -m --include=./*
|
|
echo
|