Skip to content

Commit 34950ef

Browse files
committed
Fix tests in cibuild
1 parent b3e4199 commit 34950ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ skip = ["*-win32", "*-manylinux_i686", "*-musllinux*", "pp*"]
8686
environment = { LCS_BUILD_DIR = "{project}/src/libCacheSim/build", MACOSX_DEPLOYMENT_TARGET = "14.0", CMAKE_ARGS = "-DENABLE_3L_CACHE=ON -DENABLE_GLCACHE=ON -DENABLE_LRB=ON" }
8787

8888
# Test that the wheel can be imported
89-
test-command = "python -c 'import libcachesim; print(\"Import successful\")'; python -m pytest tests/ -v -m 'not optional'; python -m pytest tests/ -v -m 'optional'"
89+
test-command = "python -c 'import libcachesim; print(\"Import successful\")'; cp -r {project}/tests .; python -m pytest tests/ -v -m 'not optional'; python -m pytest tests/ -v -m 'optional'"
9090

9191
[tool.cibuildwheel.linux]
9292
before-all = "yum install -y yum-utils && yum-config-manager --set-enabled crb && yum install -y git && git submodule update --init --recursive && bash scripts/install_deps.sh"

0 commit comments

Comments
 (0)