Browse Source

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 <mail@aparcar.org>
lilik-openwrt-22.03
Paul Spooren 4 years ago
parent
commit
b36bb173b3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      .github/workflows/multi-arch-test-build.yml

+ 1
- 1
.github/workflows/multi-arch-test-build.yml View File

@ -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


Loading…
Cancel
Save