Skip to content

Commit b5f8255

Browse files
[nrf noup] Added running unit test on native posix with ZMS
Added entry in workflows that runs unit tests on native posix with ZMS enabled. Signed-off-by: Kamil Kasperczyk <[email protected]>
1 parent df5368c commit b5f8255

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/examples-nrfconnect.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,13 @@ jobs:
8484
run: |
8585
scripts/run_in_build_env.sh 'pip3 install -r scripts/setup/requirements.nrfconnect.txt'
8686
scripts/run_in_build_env.sh "./scripts/tools/nrfconnect/tests/test_generate_factory_data.py"
87-
- name: Run unit tests for Zephyr native_posix_64 platform
87+
- name: Run unit tests for Zephyr native_posix_64 platform with NVS
8888
run: |
8989
scripts/run_in_build_env.sh "./scripts/build/build_examples.py --target nrf-native-sim-tests build"
90+
- name: Run unit tests for Zephyr native_posix_64 platform with ZMS
91+
run: |
92+
scripts/examples/nrfconnect_example.sh ../src/test_driver native_sim -DCONFIG_ZMS=y -DCONFIG_ZMS_LOOKUP_CACHE=y -DCONFIG_ZMS_LOOKUP_CACHE_SIZE=512 -DCONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y -DCONFIG_NVS=n
93+
ctest --build-nocmake -V --output-on-failure --test-dir src/test_driver/nrfconnect/build/nrfconnect --no-tests=error
9094
- name: Uploading Failed Test Logs
9195
uses: actions/upload-artifact@v4
9296
if: ${{ failure() && !env.ACT }}

0 commit comments

Comments
 (0)