File: x-tests.sh

package info (click to toggle)
endesive 2.18.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,540 kB
  • sloc: python: 17,934; java: 1,000; xml: 800; sh: 306; javascript: 118; makefile: 8
file content (18 lines) | stat: -rwxr-xr-x 461 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
#
# https://about.codecov.io/blog/python-code-coverage-using-github-actions-and-codecov/
#
#vpy3-pytest --cov=./endesive --cov-report=xml $*
rm -rf \
tests/fixtures/softhsm2 \
tests/fixtures/softhsm2.conf \
tests/fixtures/cert-* \
tests/fixtures/demo2_*
vpython3 -m coverage run \
--omit \
"endesive/pdf/PyPDF2/*",\
"endesive/pdf/PyPDF2_annotate/*",\
"endesive/pdf/fpdf/*",\
"endesive/pdf/pdf.py" \
-m unittest discover tests
vpy3-coverage3 report -m