Skip to content

Commit 0b7bc6c

Browse files
committed
Add more pytest
1 parent bc5ba99 commit 0b7bc6c

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/_unittest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
# Setup MacOS dependencies as there is no Docker support on MacOS atm
3838
PYTHON_EXECUTABLE=python \
3939
EXECUTORCH_BUILD_PYBIND=ON \
40-
EXECUTORCH_BUILD_XNNPACK=ON \
40+
CMAKE_ARGS="-DEXECUTORCH_BUILD_COREML=ON -DEXECUTORCH_BUILD_MPS=ON -DEXECUTORCH_BUILD_XNNPACK=ON -DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON" \
4141
.ci/scripts/setup-linux.sh "${BUILD_TOOL}"
4242
4343
# Run pytest with coverage
@@ -64,7 +64,7 @@ jobs:
6464
# Setup MacOS dependencies as there is no Docker support on MacOS atm
6565
PYTHON_EXECUTABLE=python \
6666
EXECUTORCH_BUILD_PYBIND=ON \
67-
CMAKE_ARGS="-DEXECUTORCH_BUILD_COREML=ON -DEXECUTORCH_BUILD_MPS=ON -DEXECUTORCH_BUILD_XNNPACK=ON" \
67+
CMAKE_ARGS="-DEXECUTORCH_BUILD_COREML=ON -DEXECUTORCH_BUILD_MPS=ON -DEXECUTORCH_BUILD_XNNPACK=ON -DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON" \
6868
${CONDA_RUN} --no-capture-output \
6969
.ci/scripts/setup-macos.sh "${BUILD_TOOL}"
7070

pytest.ini

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,16 @@ addopts =
1616
sdk/etdump
1717
sdk/etrecord
1818
sdk/inspector
19+
# examples
20+
examples/portable/test
1921
# exir
22+
exir/_serialize/test
2023
exir/backend/test/test_graph_partition.py
2124
exir/backend/test/test_backends_nested.py
2225
exir/backend/test/test_debug_handle_map.py
2326
exir/backend/test/test_delegate_map_builder.py
24-
exir/dialects/edge/test/test_edge_ops.py
25-
exir/dialects/test/test_exir_dialect_ops.py
27+
exir/dialects/edge/test
28+
exir/dialects/test
2629
exir/tests/test_arg_validator.py
2730
exir/tests/test_capture.py
2831
exir/tests/test_delegate.py

0 commit comments

Comments
 (0)