From b36bb173b31dda98f356957c6cf5b55c8b76ac2c Mon Sep 17 00:00:00 2001 From: Paul Spooren Date: Thu, 17 Sep 2020 09:00:08 -1000 Subject: [PATCH] CI: run also on test.sh changes The CI only tests packages if a Makefile changed, e.g. containing a version or release bump. This covers package related files as at least the package release must change whenever a file was touched. The `test.sh` file is a runtime test used to verify working packages within OpenWrt containers. This file can independently change and will never be included in the package ipk files, therefore trigger the CI on its changes as well. Signed-off-by: Paul Spooren --- .github/workflows/multi-arch-test-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/multi-arch-test-build.yml b/.github/workflows/multi-arch-test-build.yml index 97fa8176b6..c208d6bbe1 100644 --- a/.github/workflows/multi-arch-test-build.yml +++ b/.github/workflows/multi-arch-test-build.yml @@ -40,7 +40,7 @@ jobs: run: | # only detect packages with changed Makefiles PACKAGES="$(git diff --diff-filter=d --name-only origin/master \ - | grep 'Makefile$' | grep -Ev '/files/|/src/' \ + | grep -E 'Makefile$|test.sh$' | grep -Ev '/files/|/src/' \ | awk -F/ '{ print $(NF-1) }' | tr '\n' ' ')" # fallback to test packages if nothing explicitly changes this is