Skip to content

[MNT] Add test to check that soft dependency skipping is working as intended#3411

Open
MatthewMiddlehurst wants to merge 14 commits into
mainfrom
mm/soft-dep-test-verification
Open

[MNT] Add test to check that soft dependency skipping is working as intended#3411
MatthewMiddlehurst wants to merge 14 commits into
mainfrom
mm/soft-dep-test-verification

Conversation

@MatthewMiddlehurst
Copy link
Copy Markdown
Member

See also #3406 #3409 #3410

Adds a test run that simply checks no tests are skipped containing the reason "soft dependency" or similar when all dependencies are installed.

Skips all actual tests after the initial pytest check for skipping.

pytest checks generated by out testing system no longer xfail (still runs but expected to fail) but skips (does not run at all). I honestly thought we were already skipping and we have never run into and unexpected pass I believe.

Only wraps tests if the pytest flag is set.

@MatthewMiddlehurst MatthewMiddlehurst requested a review from a team as a code owner May 23, 2026 18:26
@MatthewMiddlehurst MatthewMiddlehurst added maintenance Continuous integration, unit testing & package distribution testing Testing related issue or pull request labels May 23, 2026
@aeon-actions-bot
Copy link
Copy Markdown
Contributor

Thank you for contributing to aeon

I would have added the following labels to this PR based on the changes made: [ testing ], however some package labels are already present.

The Checks tab will show the status of our automated tests. You can click on individual test runs in the tab or "Details" in the panel below to see more information if there is a failure.

If our pre-commit code quality check fails, please run pre-commit locally and push the fixes to your PR branch.

Don't hesitate to ask questions on the aeon Discord channel if you have any.

PR CI actions

These checkboxes will add labels to enable or disable CI functionality for this PR. This may not take effect immediately, and a new commit may be required to run the new configuration.

  • Run pre-commit checks for all files
  • Run mypy typecheck tests
  • Run all pytest tests and configurations
  • Run all notebook example tests
  • Run numba-disabled codecov tests
  • Disable numba cache loading
  • Regenerate expected results for testing
  • Push an empty commit to re-run CI checks

@MatthewMiddlehurst MatthewMiddlehurst marked this pull request as draft May 23, 2026 19:43
@MatthewMiddlehurst MatthewMiddlehurst marked this pull request as ready for review May 24, 2026 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Continuous integration, unit testing & package distribution testing Testing related issue or pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants