Skip to content

Commit b3e4199

Browse files
committed
Run optinal only in cibuild
1 parent 7c92186 commit b3e4199

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ jobs:
5050
run: |
5151
if [ -d "tests" ]; then
5252
uv run python -m pytest tests/ -v -m "not optional"
53-
uv run python -m pytest tests/ -v -m "optional"
5453
else
5554
echo "No tests directory found, skipping tests"
5655
fi

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\")'"
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'"
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)