Initial commit: Korin Timer
Build AppImage / build-appimage (push) Successful in 42s

This commit is contained in:
2026-08-03 20:42:26 +02:00
commit 7edbd09538
29 changed files with 3238 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
"""Regression checks for the AppImage Gitea Actions workflow."""
from pathlib import Path
import unittest
ROOT = Path(__file__).resolve().parents[1]
WORKFLOW = ROOT / ".gitea" / "workflows" / "build-appimage.yaml"
class GiteaActionsWorkflowTests(unittest.TestCase):
def test_build_workflow_creates_and_uploads_the_appimage(self) -> None:
workflow = WORKFLOW.read_text()
self.assertIn("on:", workflow)
self.assertIn("workflow_dispatch:", workflow)
self.assertIn("runs-on: ubuntu-latest", workflow)
self.assertIn("container: node:24-trixie", workflow)
self.assertIn("python3-gi-cairo", workflow)
self.assertIn("./packaging/build-appimage.sh", workflow)
self.assertIn("actions/upload-artifact@v3", workflow)
self.assertIn("path: build/Korin-Timer.AppImage", workflow)
if __name__ == "__main__":
unittest.main()