Skip to content

ci: release-smoke - run smoke checks as real JUnit @Test methods#89

Merged
dfa1 merged 1 commit into
mainfrom
ci-smoke-junit
Jul 19, 2026
Merged

ci: release-smoke - run smoke checks as real JUnit @Test methods#89
dfa1 merged 1 commit into
mainfrom
ci-smoke-junit

Conversation

@dfa1

@dfa1 dfa1 commented Jul 19, 2026

Copy link
Copy Markdown
Owner

Summary

  • Converted the smoke check from one exec:exec main() method into 16 independent JUnit 5 @Test methods, run via mvn test (Surefire's standard "Tests run: X, Failures: 0" output). Previously, if the first check threw, everything after it in main() silently never ran — now each check is isolated.
  • --enable-native-access=ALL-UNNAMED moved from a java command-line flag to Surefire's argLine.
  • Added a Duration column to the results table (from the Actions API's started_at/completed_at), so slow legs are visible without opening each job.

Test plan

exec:exec ran everything through one main() method: if the first check
threw, every check after it silently never ran. Split it into 16
independent @test methods (junit-jupiter, moved to src/test/java) so
`mvn test` reports each one separately via Surefire's standard "Tests
run: X, Failures: 0" summary, and one failing check no longer hides
the rest. --enable-native-access=ALL-UNNAMED moves from a java command
line flag to Surefire's argLine.

Also add a Duration column to the results table (started_at/
completed_at from the Actions API), so slow legs are visible without
opening each job.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@dfa1
dfa1 merged commit 54fe46a into main Jul 19, 2026
16 checks passed
@dfa1
dfa1 deleted the ci-smoke-junit branch July 19, 2026 06:57
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