From 60ea8757dea091bef7817e1d9e1678f19dbcad37 Mon Sep 17 00:00:00 2001 From: Dan F-M Date: Sat, 8 Jun 2024 13:42:47 -0400 Subject: [PATCH] set env variable for test command --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 59fd0d3..b2c3e6d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,7 +45,7 @@ write_to = "src/fsps/fsps_version.py" [tool.cibuildwheel] skip = "pp* *-win32 *-musllinux_* *-manylinux_i686" -test-command = "python {project}/tests/simple.py" +test-command = "SPS_HOME={project}/src/fsps/libfsps python {project}/tests/simple.py" environment = { SPS_HOME = "$(pwd)/src/fsps/libfsps" } # Needed for full C++17 support