Skip to content

Commit 89db05c

Browse files
committed
omit test functions that require NUMBA JIT
1 parent 5c1a7a7 commit 89db05c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,15 +152,17 @@ set_ray_coveragerc()
152152

153153
show_coverage_report()
154154
{
155+
files_to_omit="fastmath.py,docstring.py,min_versions.py,ray_python_version.py,stumpy/cache.py,tests/test_cache.py,tests/test_fastmath.py"
155156
set_ray_coveragerc
156-
coverage report -m --fail-under=100 --skip-covered --omit=fastmath.py,docstring.py,min_versions.py,ray_python_version.py,stumpy/cache.py $fcoveragerc
157+
coverage report -m --fail-under=100 --skip-covered --omit=$files_to_omit $fcoveragerc
157158
}
158159

159160
gen_coverage_xml_report()
160161
{
161162
# This function saves the coverage report in Cobertura XML format, which is compatible with codecov
163+
files_to_omit="fastmath.py,docstring.py,min_versions.py,ray_python_version.py,stumpy/cache.py,tests/test_cache.py,tests/test_fastmath.py"
162164
set_ray_coveragerc
163-
coverage xml -o $fcoveragexml --fail-under=100 --omit=fastmath.py,docstring.py,min_versions.py,ray_python_version.py,stumpy/cache.py $fcoveragerc
165+
coverage xml -o $fcoveragexml --fail-under=100 --omit=$files_to_omit $fcoveragerc
164166
}
165167

166168
test_custom()

0 commit comments

Comments
 (0)