File: run-coverage.sh

package info (click to toggle)
q-text-as-data 3.1.6-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,644 kB
  • sloc: python: 5,872; sh: 152; javascript: 52; makefile: 23
file content (18 lines) | stat: -rwxr-xr-x 213 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

set -e

rm -vf ./htmlcov/*

pytest -m "not benchmark" --cov --cov-report html "$@"

function cleanup() {
  kill %1
}

# TODO Fix

# python -m http.server 8000 
# open http://localhost:8000/htmlcov/