Skip to content

Add app tests; tidy CI - #12

Merged
vpetersson-bot merged 1 commit into
masterfrom
tests-ci
Nov 18, 2026
Merged

vpetersson-bot merged 1 commit into
masterfrom
tests-ci

Conversation

@vpetersson-bot

Copy link
Copy Markdown
Collaborator

Closes the test and CI gaps from the code review.

  • App tests: a new hosted BlotterTests target (Swift Testing). The scheme previously ran only BlotterKit's tests. It covers:

    The tests launch the app with -BlotterDemoData YES, so EventKit and its permission prompt stay out of the way.

  • CI:

    • Drops the macOS swift test step. BlotterKit's tests ran three times per build; xcodebuild test already runs them, and the Linux job covers Linux.
    • Lint covers BlotterTests.
    • The test step disables hardened runtime, because an ad-hoc-signed test bundle can't be injected into a hardened ad-hoc app.
    • Actions are pinned to commit SHAs (checkout v7.0.1, upload-artifact v7.0.2).
  • Dependabot: added for GitHub Actions, weekly and grouped.

Not in this PR: branch protection on master and auto-deleting merged branches. Both need repository admin rights, which the bot account doesn't have.

🤖 Generated with Claude Code

- A hosted BlotterTests target covers CalendarState (week navigation
  and its slide direction, presentation changes) and the Blotter 2
  migration (ShortcutRecorder archives, calendar selection). Tests
  launch the app with sample data, so EventKit stays out of the way.
- CI no longer runs BlotterKit's tests twice on macOS (xcodebuild test
  includes them), pins actions to commit SHAs, and Dependabot keeps
  them current.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vpetersson-bot
vpetersson-bot merged commit 521ecf1 into master Nov 18, 2026
2 checks passed
@vpetersson-bot
vpetersson-bot deleted the tests-ci branch November 18, 2026 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant