mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-30 00:47:12 +00:00
a582ca8a8e
* tests: run on pyodide Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * ci: use cibuildwheel for pyodide test Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * tests: revert changes to test_embed Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> --------- Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
18 lines
531 B
TOML
18 lines
531 B
TOML
# Warning: this is currently used for pyodide, and is not a general out-of-tree
|
|
# builder for the tests (yet). Specifically, wheels can't be built from SDists.
|
|
|
|
[build-system]
|
|
requires = ["scikit-build-core"]
|
|
build-backend = "scikit_build_core.build"
|
|
|
|
[project]
|
|
name = "pybind11_tests"
|
|
version = "0.0.1"
|
|
dependencies = ["pytest", "pytest-timeout", "numpy", "scipy"]
|
|
|
|
[tool.scikit-build.cmake.define]
|
|
PYBIND11_FINDPYTHON = true
|
|
|
|
[tool.cibuildwheel]
|
|
test-command = "pytest -o timeout=0 -p no:cacheprovider {project}/tests/test_*.py"
|