Skip to content

Commit 96b4f51

Browse files
committed
Include tests in package (not as package data)
1 parent dd89007 commit 96b4f51

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

.github/workflows/wheels.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ jobs:
111111
CIBW_TEST_EXTRAS: "test"
112112

113113
# run tests
114-
CIBW_TEST_COMMAND: "pytest {project}/suitesparse_graphblas/tests"
114+
# CIBW_TEST_COMMAND: "pytest {project}/suitesparse_graphblas/tests"
115+
CIBW_TEST_COMMAND: "pytest --pyargs suitesparse_graphblas"
115116

116117
# GitHub Actions macOS Intel runner cannot run ARM tests.
117118
CIBW_TEST_SKIP: "*-macosx_arm64"

MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@ include suitesparse_graphblas/*.pxd
66
include suitesparse_graphblas/*.pyx
77
include suitesparse_graphblas/*.c
88
include suitesparse_graphblas/*.h
9-
include suitesparse_graphblas/tests/*.py

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ test = [
6161
[tool.setuptools]
6262
packages = [
6363
'suitesparse_graphblas',
64-
# 'suitesparse_graphblas.tests',
64+
'suitesparse_graphblas.tests',
6565
'suitesparse_graphblas.io',
6666
]
6767

suitesparse_graphblas/tests/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)