From 501fa47c4fd496e9b30baee296504cf925736595 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Sun, 25 Aug 2024 12:45:22 +0200 Subject: [PATCH] ci: bsim tests: also run BabbleSim Tests on deleted files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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é --- .github/workflows/bsim-tests.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/bsim-tests.yaml b/.github/workflows/bsim-tests.yaml index 271cc1dbfe7..a8ee8b42857 100644 --- a/.github/workflows/bsim-tests.yaml +++ b/.github/workflows/bsim-tests.yaml @@ -132,10 +132,10 @@ jobs: - name: Update BabbleSim to manifest revision if: > - steps.check-bluetooth-files.outputs.any_changed == 'true' - || steps.check-networking-files.outputs.any_changed == 'true' - || steps.check-uart-files.outputs.any_changed == 'true' - || steps.check-common-files.outputs.any_changed == 'true' + steps.check-bluetooth-files.outputs.any_modified == 'true' + || steps.check-networking-files.outputs.any_modified == 'true' + || steps.check-uart-files.outputs.any_modified == 'true' + || steps.check-common-files.outputs.any_modified == 'true' run: | export BSIM_VERSION=$( west list bsim -f {revision} ) echo "Manifest points to bsim sha $BSIM_VERSION" @@ -146,17 +146,17 @@ jobs: make everything -s -j 8 - name: Run Bluetooth Tests with BSIM - if: steps.check-bluetooth-files.outputs.any_changed == 'true' || steps.check-common-files.outputs.any_changed == 'true' + if: steps.check-bluetooth-files.outputs.any_modified == 'true' || steps.check-common-files.outputs.any_modified == 'true' run: | tests/bsim/ci.bt.sh - name: Run Networking Tests with BSIM - if: steps.check-networking-files.outputs.any_changed == 'true' || steps.check-common-files.outputs.any_changed == 'true' + if: steps.check-networking-files.outputs.any_modified == 'true' || steps.check-common-files.outputs.any_modified == 'true' run: | tests/bsim/ci.net.sh - name: Run UART Tests with BSIM - if: steps.check-uart-files.outputs.any_changed == 'true' || steps.check-common-files.outputs.any_changed == 'true' + if: steps.check-uart-files.outputs.any_modified == 'true' || steps.check-common-files.outputs.any_modified == 'true' run: | tests/bsim/ci.uart.sh