Commit Graph

9 Commits

Author SHA1 Message Date
Davide Ferrari 4f5d868019 test: fix DashboardViewModelTest and add GHA workflow
- Add stopAutoRefresh() method to DashboardViewModel for testability
- Fix tests to use advanceTimeBy() + runCurrent() instead of
  advanceUntilIdle() to avoid infinite loop from auto-refresh job
- Add GitHub Actions workflow to run tests on PRs to main

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 15:48:59 +01:00
Davide Ferrari 47cfe315f7 chore(ci): build debug APK alongside release (#17)
Add debug APK build to the release workflow:
- Build both release and debug APKs
- Rename debug APK with "-debug" suffix (e.g., matedroid-0.7.1-debug.apk)
- Upload both APKs to releases and as artifacts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 19:32:01 +01:00
Davide Ferrari 713d23a02f feat: rename APK artifact to matedroid-VERSION.apk 2025-12-22 18:51:39 +01:00
Davide Ferrari c552e8ebec fix: add contents:write permission to release workflow 2025-12-22 18:42:03 +01:00
Davide Ferrari 248d80bd2a fix: use correct secret name KEYSTORE_ALIAS for key alias 2025-12-22 18:24:57 +01:00
Davide Ferrari 8d9101bbc5 fix: simplify workflow keystore setup logic
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-22 18:12:32 +01:00
Davide Ferrari 07811d5cf4 ci: add workflow_dispatch trigger for manual builds
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-22 18:11:57 +01:00
Davide Ferrari 521e1cc881 fix: create debug keystore on CI when secrets not configured
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-22 17:25:31 +01:00
Davide Ferrari edb1dac9a4 feat: add GitHub Actions workflow for release builds
- Build APK automatically when a release is published
- Upload APK as release asset
- Support custom keystore signing via GitHub secrets
- Fall back to debug signing when secrets not configured
2025-12-22 11:52:28 +01:00