Skip to content

Add nightly CI workflow for slow-tagged Beauti tests #147 - #148

Merged
walterxie merged 1 commit into
masterfrom
ci/nightly-beauti-tests
Aug 17, 2026
Merged

Add nightly CI workflow for slow-tagged Beauti tests #147#148
walterxie merged 1 commit into
masterfrom
ci/nightly-beauti-tests

Conversation

@walterxie

@walterxie walterxie commented Aug 17, 2026

Copy link
Copy Markdown
Member

Fix #147

  • Add .github/workflows/beauti-tests.yml: runs the beast-fx/Beauti TestFX suite, including tests tagged slow that ci-publish.yml skips on every push/PR (surefire.excludedGroups=slow in the root pom.xml). These are headless-JavaFX GUI tests — slower and more flake-prone — so they run nightly (cron '0 13 * * *', 01:00 NZST/02:00 NZDT) plus on-demand via workflow_dispatch, rather than gating every PR.
  • The test command is mvn -pl beast-fx -am test -Pslow-tests -Dtest='test.beastfx.app.**' -Dsurefire.failIfNoSpecifiedTests=false:
    • -pl beast-fx -am also pulls beast-base/beast-pkgmgmt into the reactor (beast-fx depends on both), so without scoping it would rerun their entire unrelated test suites too.
    • -Dtest='test.beastfx.app.**' restricts execution to the Beauti/TestFX package, which only exists in beast-fx.
    • -Dsurefire.failIfNoSpecifiedTests=false stops surefire from hard-failing the build in beast-base/beast-pkgmgmt, where that pattern matches zero classes ("No tests were executed!" is an error by default) — those modules should just build and skip tests, not fail the job.
  • Mark DivergenceDatingTest and RateTutorialTest (beast-base) as @Deprecated, pointing to their beast-fx replacements BeautiDivergenceDatingTest / BeautiRateTutorialTest.

Tested in local :

Tests run: 45, Failures: 0, Errors: 0, Skipped: 6

@walterxie
walterxie merged commit ad5c48f into master Aug 17, 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.

Add nightly CI workflow for slow-tagged Beauti tests

1 participant