From: Paul Spooren Date: Thu, 17 Sep 2020 19:00:08 +0000 (-1000) Subject: CI: run also on test.sh changes X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=b36bb173b31dda98f356957c6cf5b55c8b76ac2c;p=feed%2Fpackages.git 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 --- 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