Skip to content

ci: run hinge-core tests on pull requests and main - #2

Merged
bmc08gt merged 1 commit into
mainfrom
ci/hinge-core-tests
Oct 1, 2026
Merged

bmc08gt merged 1 commit into
mainfrom
ci/hinge-core-tests

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Oct 1, 2026

Copy link
Copy Markdown

The repo has no CI, so #1 merged with only local test runs behind it.

This adds .github/workflows/hinge-core-tests.yml with two jobs that run hinge-core's commonTest suite on both of its test hosts:

  • Android host (ubuntu-latest): :hinge-core:testAndroidHostTest
  • iOS simulator (macos-latest): :hinge-core:iosSimulatorArm64Test

It runs on pull requests and pushes to main, and a newer push to the same ref cancels the in-flight run. JDK 21 matches the local build; the code still targets JVM 17. gradle/actions/setup-gradle caches the Gradle home between runs.

The repo had no CI, so #1 merged with only local test runs behind it.
Two jobs run the same commonTest suite on both hosts it targets:
testAndroidHostTest on Ubuntu and iosSimulatorArm64Test on macOS.
JDK 21 matches the local build; the code still targets JVM 17.
@bmc08gt bmc08gt self-assigned this Oct 1, 2026
@bmc08gt
bmc08gt merged commit daa326f into main Oct 1, 2026
2 checks passed
@bmc08gt
bmc08gt deleted the ci/hinge-core-tests branch October 1, 2026 15:05
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