Skip to content

Set CMAKE_ARGS for CI and add more pytest #3693

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

Closed
wants to merge 3 commits into from
Closed
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
4 changes: 2 additions & 2 deletions .github/workflows/_unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
# Setup MacOS dependencies as there is no Docker support on MacOS atm
PYTHON_EXECUTABLE=python \
EXECUTORCH_BUILD_PYBIND=ON \
EXECUTORCH_BUILD_XNNPACK=ON \
CMAKE_ARGS="-DEXECUTORCH_BUILD_XNNPACK=ON -DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON" \
.ci/scripts/setup-linux.sh "${BUILD_TOOL}"

# Run pytest with coverage
Expand All @@ -64,7 +64,7 @@ jobs:
# Setup MacOS dependencies as there is no Docker support on MacOS atm
PYTHON_EXECUTABLE=python \
EXECUTORCH_BUILD_PYBIND=ON \
CMAKE_ARGS="-DEXECUTORCH_BUILD_COREML=ON -DEXECUTORCH_BUILD_MPS=ON -DEXECUTORCH_BUILD_XNNPACK=ON" \
CMAKE_ARGS="-DEXECUTORCH_BUILD_COREML=ON -DEXECUTORCH_BUILD_MPS=ON -DEXECUTORCH_BUILD_XNNPACK=ON -DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON" \
${CONDA_RUN} --no-capture-output \
.ci/scripts/setup-macos.sh "${BUILD_TOOL}"

Expand Down
Empty file.
Empty file added exir/program/test/__init__.py
Empty file.
7 changes: 4 additions & 3 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ addopts =
sdk/etrecord
sdk/inspector
# exir
exir/_serialize/test
exir/backend/test/test_graph_partition.py
exir/backend/test/test_backends_nested.py
exir/backend/test/test_debug_handle_map.py
exir/backend/test/test_delegate_map_builder.py
exir/dialects/edge/test/test_edge_ops.py
exir/dialects/test/test_exir_dialect_ops.py
exir/dialects/edge/test
exir/dialects/test
exir/tests/test_arg_validator.py
exir/tests/test_capture.py
exir/tests/test_delegate.py
Expand All @@ -32,7 +33,7 @@ addopts =
exir/tests/test_pass_infra.py
exir/tests/test_tensor.py
# kernels/
kernels/prim_ops/test/prim_ops_test.py
kernels/prim_ops/test
kernels/test/test_case_gen.py
# backends/arm
backends/arm/test
Expand Down
Loading