Skip to content

Commit 501fa47

Browse files
kartbennashif
authored andcommitted
ci: bsim tests: also run BabbleSim Tests on deleted files
Use correct output for the changed-files action so that bsim tests are also run on deleted files, no just added/copied/modified/renamed Signed-off-by: Benjamin Cabé <[email protected]>
1 parent 178e940 commit 501fa47

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/bsim-tests.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,10 @@ jobs:
132132
133133
- name: Update BabbleSim to manifest revision
134134
if: >
135-
steps.check-bluetooth-files.outputs.any_changed == 'true'
136-
|| steps.check-networking-files.outputs.any_changed == 'true'
137-
|| steps.check-uart-files.outputs.any_changed == 'true'
138-
|| steps.check-common-files.outputs.any_changed == 'true'
135+
steps.check-bluetooth-files.outputs.any_modified == 'true'
136+
|| steps.check-networking-files.outputs.any_modified == 'true'
137+
|| steps.check-uart-files.outputs.any_modified == 'true'
138+
|| steps.check-common-files.outputs.any_modified == 'true'
139139
run: |
140140
export BSIM_VERSION=$( west list bsim -f {revision} )
141141
echo "Manifest points to bsim sha $BSIM_VERSION"
@@ -146,17 +146,17 @@ jobs:
146146
make everything -s -j 8
147147
148148
- name: Run Bluetooth Tests with BSIM
149-
if: steps.check-bluetooth-files.outputs.any_changed == 'true' || steps.check-common-files.outputs.any_changed == 'true'
149+
if: steps.check-bluetooth-files.outputs.any_modified == 'true' || steps.check-common-files.outputs.any_modified == 'true'
150150
run: |
151151
tests/bsim/ci.bt.sh
152152
153153
- name: Run Networking Tests with BSIM
154-
if: steps.check-networking-files.outputs.any_changed == 'true' || steps.check-common-files.outputs.any_changed == 'true'
154+
if: steps.check-networking-files.outputs.any_modified == 'true' || steps.check-common-files.outputs.any_modified == 'true'
155155
run: |
156156
tests/bsim/ci.net.sh
157157
158158
- name: Run UART Tests with BSIM
159-
if: steps.check-uart-files.outputs.any_changed == 'true' || steps.check-common-files.outputs.any_changed == 'true'
159+
if: steps.check-uart-files.outputs.any_modified == 'true' || steps.check-common-files.outputs.any_modified == 'true'
160160
run: |
161161
tests/bsim/ci.uart.sh
162162

0 commit comments

Comments
 (0)