Add test suite (box rules, Python, QML against a fake Jellyfin server) and local preview jobs
- freebox-jellyfin test: box-only rules (ES5, QtQuick 2.5, qmldir, singletons), tooling unit tests, qmltestrunner on tests/qml against fake_server.py - freebox-jellyfin fake-server and preview --fake-server - package enforces the box rules; CI runs the tests - JetBrains run configs: Local Preview, Local Preview (faux serveur), Tests Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d0d019ac1e
commit
1b2acae316
19 files changed
+2097
-17
No files matched your search
@@ -1,4 +1,4 @@
|
||||
# Vérifications à chaque push / pull request, et release Gitea avec le paquet FreeStore
|
||||
# Tests et vérifications à chaque push / pull request, et release Gitea avec le paquet FreeStore
|
||||
# sur un tag « vX.Y.Z » (qui doit correspondre à « version » dans app/manifest.json).
|
||||
# Le téléversement sur la console FreeFactory reste manuel (pas d'API connue).
|
||||
name: CI
|
||||
@@ -22,7 +22,7 @@ jobs:
|
||||
$SUDO apt-get update -qq
|
||||
DEBIAN_FRONTEND=noninteractive $SUDO apt-get install -y -qq --no-install-recommends \
|
||||
curl git ca-certificates qmlscene qtdeclarative5-dev-tools \
|
||||
qml-module-qtquick2 qml-module-qtquick-window2 qml-module-qtmultimedia
|
||||
qml-module-qtquick2 qml-module-qtquick-window2 qml-module-qtmultimedia qml-module-qttest
|
||||
git clone --depth 1 https://github.com/fbx/libfbxqml.git ../libfbxqml
|
||||
|
||||
- name: uv (outils Python du dépôt)
|
||||
@@ -30,6 +30,9 @@ jobs:
|
||||
curl -LsSf https://astral.sh/uv/0.12.9/install.sh | sh
|
||||
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
|
||||
|
||||
- name: Tests (règles de la box, outillage Python, QML contre un faux serveur Jellyfin)
|
||||
run: uv run --locked freebox-jellyfin test
|
||||
|
||||
- name: Manifest, syntaxe QML/JS et paquet FreeStore
|
||||
run: uv run --locked freebox-jellyfin package
|
||||
|
||||
|
||||
Reference in new issue
Block a user