diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4910361..f50f8f3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -47,8 +47,5 @@ jobs: ./bin/omarchy-release self-test ./tests/partial-release.sh ./tests/published-build-plan.sh - shopt -s nullglob - for test in pkgbuilds/*/test.sh; do - bash "$test" - done + ./tests/settings-boot-config.sh ' diff --git a/pkgbuilds/omarchy-settings/test.sh b/tests/settings-boot-config.sh old mode 100644 new mode 100755 similarity index 98% rename from pkgbuilds/omarchy-settings/test.sh rename to tests/settings-boot-config.sh index 5cb8c62..b9dcff7 --- a/pkgbuilds/omarchy-settings/test.sh +++ b/tests/settings-boot-config.sh @@ -2,7 +2,7 @@ # Exercise the real package functions with a minimal, synthetic runtime tree. set -euo pipefail -BUILD_ROOT=$(realpath "${BASH_SOURCE[0]%/*}/../..") +BUILD_ROOT=$(realpath "${BASH_SOURCE[0]%/*}/..") scratch=$(mktemp -d) trap 'rm -rf "$scratch"' EXIT fixture=$scratch/src/omarchy