Skip to content

Fix RET file navigation in tool output blocks #411

Fix RET file navigation in tool output blocks

Fix RET file navigation in tool output blocks #411

Workflow file for this run

name: GUI Tests
on:
push:
branches: [master, main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 15
services:
ollama:
image: ollama/ollama:0.11.11
ports:
- 11434:11434
steps:
- uses: actions/checkout@v4
# apt emacs has X11 support (purcell/setup-emacs doesn't)
- name: Install Emacs
run: sudo apt-get update && sudo apt-get install -y emacs xvfb
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: Setup Ollama model
run: |
# Wait for Ollama to be ready
for i in {1..30}; do curl -s http://localhost:11434/api/tags && break; sleep 1; done
# Pull the model
echo "Pulling qwen3:1.7b..."
curl -s http://localhost:11434/api/pull -d '{"name":"qwen3:1.7b"}' | tail -1
# Verify
echo "Verifying model..."
curl -s http://localhost:11434/api/tags | grep -q 'qwen3:1.7b' || {
echo "::error::Model not found after pull"
curl -s http://localhost:11434/api/tags
exit 1
}
echo "Model qwen3:1.7b is ready"
# Warm up: first inference loads weights into memory (10-30s cold start)
echo "Warming up model..."
curl -s http://localhost:11434/api/generate \
-d '{"model":"qwen3:1.7b","prompt":"hi","stream":false,"think":false,"options":{"num_predict":1}}' > /dev/null
echo "Warmup complete"
- name: Run tests
run: make test-gui-ci
env:
PI_HEADLESS: 1
PI_CODING_AGENT_DIR: ${{ runner.temp }}/pi-test