mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-04-26 08:25:59 +03:00
[PR #16] [MERGED] Add system utils CI workflow and integration tests #20
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ServerKit#20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jhd3197/ServerKit/pull/16
Author: @jhd3197
Created: 2/10/2026
Status: ✅ Merged
Merged: 2/10/2026
Merged by: @jhd3197
Base:
main← Head:dev📝 Commits (7)
02797c8Add system utils CI workflow and integration tests7f80932chore: bump version to 1.2.82 [skip ci]d5f6e13Move EXPECTED_MANAGER check into pytest test926c2f3CI: set noninteractive env and harden install stepdeb29d3chore: bump version to 1.2.83 [skip ci]e1f732cUpdate CI images and package install steps34ca8dechore: bump version to 1.2.84 [skip ci]📊 Changes
3 files changed (+316 additions, -1 deletions)
View changed files
➕
.github/workflows/test-system-utils.yml(+168 -0)📝
VERSION(+1 -1)➕
backend/tests/test_utils_system_integration.py(+147 -0)📄 Description
Introduce a new GitHub Actions workflow (.github/workflows/test-system-utils.yml) that runs unit tests, distro-based integration tests in container images (ubuntu, debian, fedora, rocky) to validate package manager and systemctl detection, and an audit job that greps migrated service files for raw subprocess patterns. Add backend/tests/test_utils_system_integration.py: Linux-only integration smoke tests that directly import backend/app/utils/system.py (avoiding Flask deps) to verify PackageManager detection, command availability, and basic ServiceControl behavior. Designed for CI verification of system utilities across real distros.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.