File tree Expand file tree Collapse file tree 4 files changed +9
-17
lines changed Expand file tree Collapse file tree 4 files changed +9
-17
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3939
4040 - name : Upload coverage report to codecov
4141 if : matrix.os == 'ubuntu-24.04' && matrix.python == '3.14'
42- <<<<<<< HEAD
4342 uses : codecov/codecov-action@v5
44- =======
45- uses : codecov/codecov-action@v4
46- >>>>>>> 89f9199 (Add support for Python 3.14 and upgrade dependencies)
4743 with :
4844 fail_ci_if_error : true
4945 token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change @@ -118,7 +118,8 @@ libzim = [
118118[tool .cibuildwheel ]
119119build = " *"
120120# disabling PyPy due to 2 failing tests
121- skip = " pp* *win32*"
121+ # disabling free-threaded builds (cp313t, cp314t) as module is not compatible
122+ skip = " pp* *win32* cp313t-* cp314t-*"
122123
123124test-requires = [" pytest" ]
124125test-command = " py.test {project}/tests/"
@@ -309,21 +310,19 @@ minversion = "7.3"
309310testpaths = [" tests" ]
310311pythonpath = [" ." ]
311312
312- [tool .coverage ]
313- plugins = " Cython.Coverage"
314-
315- [tool .coverage .paths ]
316- libzim = [" libzim" ]
317- tests = [" tests" ]
318-
319313[tool .coverage .run ]
320- source_pkgs = [" libzim" ]
314+ plugins = [" Cython.Coverage" ]
315+ source = [" libzim" ]
321316branch = true
322317parallel = true
323318omit = [
324319 " libzim/__about__.py" ,
325320]
326321
322+ [tool .coverage .paths ]
323+ libzim = [" libzim" ]
324+ tests = [" tests" ]
325+
327326[tool .coverage .report ]
328327exclude_lines = [
329328 " no cov" ,
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ def test(ctx: Context, args: str = ""):
3636@task (optional = ["args" ], help = {"args" : "pytest additional arguments" })
3737def test_cov (ctx : Context , args : str = "" ):
3838 """run test vith coverage"""
39+ build_ext (ctx )
3940 ctx .run (f"coverage run -m pytest { args } " , pty = use_pty )
4041
4142
You can’t perform that action at this time.
0 commit comments