Skip to content

Commit 6dda0bf

Browse files
committed
Update GitHub CI nxp-build-test job.
1 parent 9d66af7 commit 6dda0bf

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/pull.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,26 +1235,23 @@ jobs:
12351235
12361236
# Build and install Executorch
12371237
PYTHON_EXECUTABLE=python \
1238-
CMAKE_ARGS="-DEXECUTORCH_BUILD_NXP_NEUTRON=ON -DEXECUTORCH_BUILD_NXP_NEUTRON_RUNNER=ON " \
1238+
CMAKE_ARGS="-DEXECUTORCH_BUILD_NXP_NEUTRON=ON -DEXECUTORCH_BUILD_NXP_NEUTRON_RUNNER=ON" \
12391239
.ci/scripts/setup-linux.sh --build-tool "cmake"
12401240
12411241
# Install test requirements
12421242
pip install -r backends/nxp/requirements-tests-pypi.txt
12431243
PYTHON_EXECUTABLE=python bash examples/nxp/setup.sh
12441244
1245-
# Run pytest
1246-
PYTHON_EXECUTABLE=python bash backends/nxp/run_unittests.sh
1247-
12481245
# Run aot examples:
12491246
PYTHON_EXECUTABLE=python bash examples/nxp/run_aot_example.sh cifar10
12501247
PYTHON_EXECUTABLE=python bash examples/nxp/run_aot_example.sh mobilenetv2
12511248
12521249
# Run e2e example with Simulator:
12531250
PYTHON_EXECUTABLE=python bash examples/nxp/run.sh cifar10
12541251
1255-
# Run lightweight model tests:
1256-
PYTHON_EXECUTABLE=python pytest -c /dev/null backends/nxp/tests_models/ \
1257-
--nxp_runner_path "./examples/nxp/executor_runner/build/nxp_executor_runner"
1252+
# Run unit tests:
1253+
export NXP_RUNNER_PATH="./examples/nxp/executor_runner/build/nxp_executor_runner"
1254+
PYTHON_EXECUTABLE=python bash backends/nxp/run_unittests.sh
12581255
12591256
test-samsung-quantmodels-linux:
12601257
name: test-samsung-quantmodels-linux

0 commit comments

Comments
 (0)