Skip to content

ci: add JUnit sample test workflow#7

Merged
outofcoffee merged 2 commits into
mainfrom
ci/junit-sample-workflow
May 27, 2026
Merged

ci: add JUnit sample test workflow#7
outofcoffee merged 2 commits into
mainfrom
ci/junit-sample-workflow

Conversation

@outofcoffee
Copy link
Copy Markdown
Contributor

@outofcoffee outofcoffee commented May 27, 2026

Adds a GitHub Actions workflow that runs the junit-sample integration test against imposter-jvm-engine's main, mirroring the check that lives in the engine repo today.

Summary

  • Add .github/workflows/junit-sample.yaml: checks out this repo and imposter-project/imposter-jvm-engine, publishes the engine to a local Maven repo (./gradlew publishToMavenLocal -xtest), then runs ./mvnw test against the locally-published SNAPSHOT
  • Triggers: push to main, pull requests, and manual workflow_dispatch
  • Publishes JUnit results via EnricoMi/publish-unit-test-result-action so failures surface as checks

Implementation details

Mirrors the existing Examples job in imposter-jvm-engine. Having the check here lets contributions to the examples repo block on the same combination before merge — previously a breaking change to a sample pom (like the Jackson version drift fixed in #5) would only surface on the engine's next CI run.

@outofcoffee outofcoffee added the enhancement New feature or request label May 27, 2026
@outofcoffee outofcoffee merged commit 333da04 into main May 27, 2026
2 checks passed
@outofcoffee outofcoffee deleted the ci/junit-sample-workflow branch May 27, 2026 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant