Skip to content

Add unit tests and CI workflow#8

Merged
coffee-cup merged 2 commits into
masterfrom
jr/ci-tests
Jun 11, 2026
Merged

Add unit tests and CI workflow#8
coffee-cup merged 2 commits into
masterfrom
jr/ci-tests

Conversation

@coffee-cup

Copy link
Copy Markdown
Owner

Adds a real unit-test suite over the sun-time logic and a GitHub Actions workflow that runs it on every push to master and PR, with a CI badge in the README.

  • Swift Testing suites for SunLogic (NOAA-referenced Vancouver fixture, midnight sun and skipped-astronomical-twilight edge cases), Date extensions, and SunPlace serialization (replaces the empty 2016 XCTest boilerplate)
  • Shares the SunriseSunset scheme with a test action so xcodebuild test works on a fresh checkout
  • CI runs xcodebuild test on macos-26 against an iPhone 17 Pro simulator, uploads the .xcresult on failure

- Swift Testing suites covering SunLogic (EDSunriseSet fixtures incl
  polar edge cases), Date extensions, and SunPlace serialization
- share the SunriseSunset scheme with a test action so CI can run it
- GitHub Actions: xcodebuild test on macos-26 for pushes to master and PRs
@coffee-cup
coffee-cup merged commit 38a35c9 into master Jun 11, 2026
1 check passed
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