File: show_html_coverage.sh

package info (click to toggle)
fpdf2 2.8.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 53,828 kB
  • sloc: python: 39,486; sh: 133; makefile: 12
file content (6 lines) | stat: -rwxr-xr-x 138 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
#!/usr/bin/env bash
cd "$(dirname "$0")"
cd ..
coverage run setup.py test
coverage html && \
  (cd htmlcov && python -m http.server 8080)