blob: 3ba43ee0bbb4786c01b6a28455e98572a9dcd9ad (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/bash
PYVER=$(scripts/getpyver.py short)
if [[ $PYVER == '3.6' ]]; then
if [[ "x$CODACY_PROJECT_TOKEN" == "x" ]]; then
echo "Warning: Codacy token not available (PR from non-member), unable to send coverage info."
exit 0
fi
coverage xml
python-codacy-coverage -r coverage.xml
fi
|