File tree Expand file tree Collapse file tree 5 files changed +29
-3
lines changed Expand file tree Collapse file tree 5 files changed +29
-3
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 1+ [run]
2+ plugins = Cython.Coverage
Original file line number Diff line number Diff line change 11export C_INCLUDE_PATH=$(pwd)/.local/include
22export LIBRARY_PATH=$(pwd)/.local/lib
33export LD_LIBRARY_PATH=$(pwd)/.local/lib
4+ export PKG_CONFIG_PATH=$(pwd)/.local/lib/pkgconfig
Original file line number Diff line number Diff line change 1515#
1616set -o errexit
1717
18+ RC=" --rcfile=.coveragerc.meson"
19+
20+ # See https://github.com/cython/cython/issues/6658
21+ # Needed for Python 3.13 only
22+ # pip uninstall cython
23+ # pip install git+https://github.com/cython/cython.git@fdbca99
24+
1825meson setup build -Dcoverage=true
19- spin run -- coverage run -m flint.test $@
20- coverage report -m --sort=cover
21- coverage html
26+ spin run -- coverage run $RC -m flint.test $@
27+ coverage report $RC -m --sort=cover
28+ coverage html $RC
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ RC=" --rcfile=.coveragerc.setuptools"
4+
5+ # Comment out various lines below for speed if running multiple times.
6+
7+ # See https://github.com/cython/cython/issues/6658
8+ # Needed for Python 3.13 only
9+ # pip uninstall cython
10+ # pip install git+https://github.com/cython/cython.git@fdbca99
11+
12+ touch src/* /* /* .pyx
13+ PYTHON_FLINT_COVERAGE=1 python setup.py build_ext --inplace
14+ PYTHONPATH=src coverage run $RC -m flint.test
15+ coverage report $RC -m --sort=cover
16+ coverage html $RC
You can’t perform that action at this time.
0 commit comments