openwrt-packages/.github/workflows
Jeffery To 5422bd6218
CI: Fix finding test script
Currently, the run-test code tries to find the package source directory
based on the directory name only. This fails for the Go compiler package
because there is more than one directory named "golang".

This uses the full path listed in the "Source:" line of the control file
to find the package source directory.

This also:

* Checks for the test script earlier, to avoid installing and removing
  ipk files when there is no test script to be run

* Makes PKG_VERSION parsing more lenient, as the package may not have a
  PKG_RELEASE, e.g. attendedsysupgrade-common

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-17 20:17:44 +08:00
..
Dockerfile CI: use new `openwrt` Docker username 2021-03-17 22:20:16 -10:00
check-autorelease-deprecation.yml ci: only comment AUTORELEASE deprecation if exists 2022-12-02 19:59:44 +01:00
ci_helpers.sh CI: Add helper functions 2020-10-10 11:16:13 -10:00
entrypoint.sh CI: Fix finding test script 2023-07-17 20:17:44 +08:00
formal.yml ci: update github actions to v3 2022-10-25 22:13:24 +02:00
multi-arch-test-build.yml CI: update build architectures 2023-06-16 12:30:32 +08:00