mirror of
https://github.com/open-jarvis/OpenJarvis.git
synced 2026-07-30 10:52:15 +00:00
- Rewrite .github/workflows/desktop.yml: 2-job pipeline (validate + build-and-release) with rolling desktop-latest pre-release on push to main and stable desktop-v* releases - Add UpdateChecker component: checks for updates on startup + every 30 min, background download with progress bar, one-click relaunch - Configure Tauri updater: endpoints pointing to desktop-latest release, pubkey placeholder - Add tauri-plugin-process for relaunch support (Cargo.toml, lib.rs, package.json) - Add macOS Entitlements.plist for notarization (network + file access, no sandbox) - Add scripts/bump-desktop-version.sh for atomic version bumps across 3 config files - Add desktop/README.md with dev setup, auto-update architecture, signing docs - Update .gitignore for desktop/node_modules, dist, target - Configure macOS minimumSystemVersion, Windows timestampUrl - Include all Phase 14-21 work: agent hardening, RBAC, taint tracking, workflows, skills, knowledge graph, sessions, A2A, MCP templates, WASM sandbox, TUI dashboard, production tools, CLI expansion, API expansion, learning productionization, Tauri desktop app, and 10 new channels Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
29 lines
928 B
Python
29 lines
928 B
Python
"""Tests for the ``jarvis workflow`` CLI commands."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from click.testing import CliRunner
|
|
|
|
from openjarvis.cli import cli
|
|
|
|
|
|
class TestWorkflowCmd:
|
|
def test_workflow_list_help(self) -> None:
|
|
result = CliRunner().invoke(cli, ["workflow", "list", "--help"])
|
|
assert result.exit_code == 0
|
|
|
|
def test_workflow_run_help(self) -> None:
|
|
result = CliRunner().invoke(cli, ["workflow", "run", "--help"])
|
|
assert result.exit_code == 0
|
|
|
|
def test_workflow_status_help(self) -> None:
|
|
result = CliRunner().invoke(cli, ["workflow", "status", "--help"])
|
|
assert result.exit_code == 0
|
|
|
|
def test_workflow_group_help(self) -> None:
|
|
result = CliRunner().invoke(cli, ["workflow", "--help"])
|
|
assert result.exit_code == 0
|
|
assert "list" in result.output
|
|
assert "run" in result.output
|
|
assert "status" in result.output
|