mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-06 12:37:40 +00:00
ci: let Claude run the full desktop search after a scripted setup, with Haiku 5.5 on Claude Code 2.1.296
The prompt runs the whole plan with the toolbar at the bottom and, at the top, only the checks the layouts render differently.
This commit is contained in:
1 parent
9b67dda90c
commit
51bcb8fdf6
3 files changed
+52
-23
No files matched your search
@@ -312,10 +312,10 @@ jobs:
|
||||
retention-days: 3
|
||||
if-no-files-found: warn
|
||||
|
||||
# Claude Code repeats the smoke test's directory search with the ui helper. Each run spends the Claude
|
||||
# Claude Code repeats the smoke test's searches with the ui helper. Each run spends the Claude
|
||||
# subscription's usage limits, so it runs only when dispatched or asked for in the head commit's message.
|
||||
claude:
|
||||
name: Claude searches the directory in the desktop app
|
||||
name: Claude searches in the desktop app
|
||||
needs: [plan, core, backend]
|
||||
if: ${{ !cancelled() && !failure() && (github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, '[claude-test]')) }}
|
||||
runs-on: ubuntu-24.04
|
||||
@@ -327,8 +327,9 @@ jobs:
|
||||
group: desktop-linux-claude-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
env:
|
||||
CLAUDE_CODE_VERSION: 2.1.292
|
||||
CLAUDE_MODEL: claude-sonnet-5-5
|
||||
# the first release with Haiku 5.5's token counts right (2.1.293 added the model, 2.1.296 fixed its counts)
|
||||
CLAUDE_CODE_VERSION: 2.1.296
|
||||
CLAUDE_MODEL: claude-haiku-5-5
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v5
|
||||
@@ -339,8 +340,8 @@ jobs:
|
||||
- name: Install tools
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y xvfb xdotool openbox imagemagick tesseract-ocr sqlite3
|
||||
dpkg-query -W xvfb xdotool openbox imagemagick tesseract-ocr sqlite3
|
||||
sudo apt-get install -y xvfb xdotool openbox imagemagick tesseract-ocr sqlite3 fonts-dejavu-core
|
||||
dpkg-query -W xvfb xdotool openbox imagemagick tesseract-ocr sqlite3 fonts-dejavu-core
|
||||
|
||||
- name: Download core library
|
||||
uses: actions/download-artifact@v7
|
||||
@@ -389,8 +390,10 @@ jobs:
|
||||
printf '#!/bin/sh\nexec %s/scripts/ci/desktop-linux/ui "$@"\n' "$PWD" | sudo tee /usr/local/bin/ui
|
||||
sudo chmod +x /usr/local/bin/ui
|
||||
|
||||
- name: Start the app at the chat list
|
||||
run: scripts/ci/desktop-linux/smoke-test.sh apps/multiplatform/release/main/app/simplex "$RUNNER_TEMP/claude-test/screens" onboarding
|
||||
- name: Set the app up at the chat list
|
||||
run: |
|
||||
export NAMES_SERVER=$(cat "$RUNNER_TEMP/backend/names-server")
|
||||
scripts/ci/desktop-linux/smoke-test.sh apps/multiplatform/release/main/app/simplex "$RUNNER_TEMP/claude-test/screens" setup
|
||||
|
||||
# Claude's Bash is limited to single ui commands by the guard hook in claude-test.sh. Claude Code's credential
|
||||
# scrub stays off: on Linux it forces its whole Bash sandbox (bubblewrap, socat), which ui isn't set up for.
|
||||
|
||||
Reference in new issue
Block a user