Skip to content

Commit bc70659

Browse files
authored
[nrf CI] Make Zephyr Native Unit Tests run when crypto files are changed since this is the only unit tests that test Crypto PSA (project-chip#42020)
1 parent 439cc59 commit bc70659

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/examples-nrfconnect.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ jobs:
6868
- '**/tests/**'
6969
shell:
7070
- 'examples/shell/nrfconnect/**'
71+
crypto:
72+
- 'src/crypto/**'
7173
- name: Set up environment for size reports
7274
uses: ./.github/actions/setup-size-reports
7375
if: ${{ !env.ACT }}
@@ -162,7 +164,8 @@ jobs:
162164
github.event_name == 'push' ||
163165
steps.changed_paths.outputs.tests == 'true' ||
164166
steps.changed_paths.outputs.nrfconnect == 'true' ||
165-
steps.changed_paths.outputs.pigweed == 'true'
167+
steps.changed_paths.outputs.pigweed == 'true' ||
168+
steps.changed_paths.outputs.crypto == 'true'
166169
run: |
167170
scripts/run_in_build_env.sh "source $ZEPHYR_BASE/zephyr-env.sh && pip3 install -r scripts/setup/requirements.build.txt && ./scripts/build/build_examples.py --target nrf-native-sim-tests build"
168171
- name: Uploading Failed Test Logs

0 commit comments

Comments
 (0)