Skip to content

Include tests as a module in the package #75

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
CIBW_TEST_EXTRAS: "test"

# run tests
CIBW_TEST_COMMAND: "pytest {project}/suitesparse_graphblas/tests"
CIBW_TEST_COMMAND: "pytest --pyargs suitesparse_graphblas"

# GitHub Actions macOS Intel runner cannot run ARM tests.
CIBW_TEST_SKIP: "*-macosx_arm64"
Expand Down
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ include suitesparse_graphblas/*.pxd
include suitesparse_graphblas/*.pyx
include suitesparse_graphblas/*.c
include suitesparse_graphblas/*.h
include suitesparse_graphblas/tests/*.py
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ test = [
[tool.setuptools]
packages = [
'suitesparse_graphblas',
# 'suitesparse_graphblas.tests',
'suitesparse_graphblas.tests',
'suitesparse_graphblas.io',
]

Expand Down
12 changes: 6 additions & 6 deletions suitesparse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ cd GraphBLAS-${VERSION}/build
# echo "#define GxB_NO_BOOL 1" >> ../Source/GB_control.h #
# echo "#define GxB_NO_FP32 1" >> ../Source/GB_control.h #
# echo "#define GxB_NO_FP64 1" >> ../Source/GB_control.h #
echo "#define GxB_NO_FC32 1" >> ../Source/GB_control.h #
echo "#define GxB_NO_FC64 1" >> ../Source/GB_control.h #
# echo "#define GxB_NO_INT16 1" >> ../Source/GB_control.h
# echo "#define GxB_NO_INT32 1" >> ../Source/GB_control.h
echo "#define GxB_NO_FC32 1" >> ../Source/GB_control.h
echo "#define GxB_NO_FC64 1" >> ../Source/GB_control.h
# echo "#define GxB_NO_INT16 1" >> ../Source/GB_control.h #
# echo "#define GxB_NO_INT32 1" >> ../Source/GB_control.h #
# echo "#define GxB_NO_INT64 1" >> ../Source/GB_control.h #
# echo "#define GxB_NO_INT8 1" >> ../Source/GB_control.h
# echo "#define GxB_NO_INT8 1" >> ../Source/GB_control.h #
echo "#define GxB_NO_UINT16 1" >> ../Source/GB_control.h
echo "#define GxB_NO_UINT32 1" >> ../Source/GB_control.h
# echo "#define GxB_NO_UINT64 1" >> ../Source/GB_control.h
# echo "#define GxB_NO_UINT64 1" >> ../Source/GB_control.h #
echo "#define GxB_NO_UINT8 1" >> ../Source/GB_control.h

# Disable all Source/Generated2 kernels. For workflow development only.
Expand Down
Empty file.