Skip to content

Commit bc4c7ff

Browse files
committed
WIP
1 parent 49b39d7 commit bc4c7ff

File tree

4 files changed

+9
-17
lines changed

4 files changed

+9
-17
lines changed

.coveragerc

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/workflows/Tests.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,7 @@ jobs:
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 }}

pyproject.toml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ libzim = [
118118
[tool.cibuildwheel]
119119
build = "*"
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

123124
test-requires = ["pytest"]
124125
test-command = "py.test {project}/tests/"
@@ -309,21 +310,19 @@ minversion = "7.3"
309310
testpaths = ["tests"]
310311
pythonpath = ["."]
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"]
321316
branch = true
322317
parallel = true
323318
omit = [
324319
"libzim/__about__.py",
325320
]
326321

322+
[tool.coverage.paths]
323+
libzim = ["libzim"]
324+
tests = ["tests"]
325+
327326
[tool.coverage.report]
328327
exclude_lines = [
329328
"no cov",

tasks.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def test(ctx: Context, args: str = ""):
3636
@task(optional=["args"], help={"args": "pytest additional arguments"})
3737
def 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

0 commit comments

Comments
 (0)