ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.
Python astracloudflarecontrol-panelcyberpaneldnsfablehosting-control-panelhosting-panelkimi-k3server-managementserverkitubuntu-web-panelwebserver
ci(scripts): run updater unit tests across Debian + Rocky
Juan Denisfef4d12d16e0
diff --git a/.github/workflows/scripts-ci.yml b/.github/workflows/scripts-ci.ymlindex 892dd5d7..45dc0fea 100644--- a/.github/workflows/scripts-ci.yml+++ b/.github/workflows/scripts-ci.yml@@ -53,3 +53,29 @@ jobs:- name: Unit tests (test_update.sh)run: bash scripts/test/test_update.sh++ cross-distro:+ name: unit (${{ matrix.image }})+ runs-on: ubuntu-latest+ # ServerKit targets several Linux families; the updater's logic (symlink+ # resolution, locking, refresh_config, detection) must behave the same on+ # Debian- and RHEL-derived hosts, not just the Ubuntu runner. Run the unit+ # suite inside each distro's container so a portability regression fails+ # here instead of on someone's server.+ strategy:+ fail-fast: false+ matrix:+ image: ['debian:12', 'rockylinux:9']+ steps:+ - uses: actions/checkout@v4+ - name: bash -n + unit tests on ${{ matrix.image }}+ run: |+ docker run --rm -v "$PWD:/src" -w /src "${{ matrix.image }}" bash -c '+ set -e+ echo "bash $BASH_VERSION"+ for f in serverkit scripts/*.sh install.sh; do+ [ -f "$f" ] || continue+ bash -n "$f" && echo "ok $f"+ done+ bash scripts/test/test_update.sh+ '