1
1
Fork
You've already forked zop
0

Add PR screenshot workflow and Android APK in release pipeline #8

Merged
Copilot merged 7 commits from copilot/port-go-whisper-android-app into main 2026年03月15日 22:30:42 +01:00
Copilot commented 2026年03月15日 18:33:37 +01:00 (Migrated from github.com)
Copy link

This change adds CI automation to build/test on code changes, capture a mobile UI screenshot and post it inline on PRs, and ensures Android APKs ship as part of the release workflow. It also documents how to install the Android app on a physical device.

  • PR automation
    • PR workflow now runs go build ./..., captures the Fyne UI screenshot, publishes it to a ui-screenshots branch, and posts a sticky PR comment with the image.
  • Release pipeline
    • Release workflow builds zop-android-arm64.apk via fyne-cross and attaches it to releases.
  • Docs + test hooks
    • README includes build/install steps for physical Android devices.
    • Screenshot test accepts ZOP_SCREENSHOT_PATH for CI capture.

Example usage for CI screenshot capture:

ZOP_SCREENSHOT_PATH=artifacts/zop-mobile-ui.png \
 go test -tags fyne ./internal/mobileui -run TestScreenshot -count=1

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

This change adds CI automation to build/test on code changes, capture a mobile UI screenshot and post it inline on PRs, and ensures Android APKs ship as part of the release workflow. It also documents how to install the Android app on a physical device. - **PR automation** - PR workflow now runs `go build ./...`, captures the Fyne UI screenshot, publishes it to a `ui-screenshots` branch, and posts a sticky PR comment with the image. - **Release pipeline** - Release workflow builds `zop-android-arm64.apk` via `fyne-cross` and attaches it to releases. - **Docs + test hooks** - README includes build/install steps for physical Android devices. - Screenshot test accepts `ZOP_SCREENSHOT_PATH` for CI capture. Example usage for CI screenshot capture: ```sh ZOP_SCREENSHOT_PATH=artifacts/zop-mobile-ui.png \ go test -tags fyne ./internal/mobileui -run TestScreenshot -count=1 ``` <!-- START COPILOT CODING AGENT TIPS --> --- 💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more [Copilot coding agent tips](https://gh.io/copilot-coding-agent-tips) in the docs.
peterwwillis (Migrated from github.com) reviewed 2026年03月15日 18:33:37 +01:00
github-actions[bot] commented 2026年03月15日 22:25:28 +01:00 (Migrated from github.com)
Copy link

Mobile UI Screenshot

zop mobile UI

### Mobile UI Screenshot ![zop mobile UI](https://raw.githubusercontent.com/peterwwillis/zop/ui-screenshots/pr-8/zop-mobile-ui.png) <!-- Sticky Pull Request Commentzop-mobile-ui -->
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mutablecc/zop!8
Reference in a new issue
mutablecc/zop
No description provided.
Delete branch "copilot/port-go-whisper-android-app"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?