Skip to content

Fix check_test_class_names test - #23085

Merged
mvdbeek merged 1 commit into
galaxyproject:devfrom
nsoranzo:fix_check_test_class_names
Jul 8, 2026
Merged

Fix check_test_class_names test#23085
mvdbeek merged 1 commit into
galaxyproject:devfrom
nsoranzo:fix_check_test_class_names

Conversation

@nsoranzo

@nsoranzo nsoranzo commented Jul 8, 2026

Copy link
Copy Markdown
Member

I broke the CI workflow by mistake in #23028 .
While fixing that, I noticed that the .ci/check_test_class_names.sh script wasn't properly collecting integration and integration Selenium tests because of these errors:

ERROR test/integration - Failed: Defining 'pytest_plugins' in a non-top-level conftest is no longer supported:
ERROR test/integration_selenium - Failed: Defining 'pytest_plugins' in a non-top-level conftest is no longer supported:

Fixed them by passing to pytest all the direct subdirectories instead of test/.

How to test the changes?

(Select all options that apply)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.
  • Instructions for manual testing are as follows:
    1. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

I broke the CI workflow by mistake in commit 3788424 .
While fixing that, I noticed that the `.ci/check_test_class_names.sh`
script wasn't properly collecting integration and integration Selenium
tests because of these errors:

```
ERROR test/integration - Failed: Defining 'pytest_plugins' in a non-top-level conftest is no longer supported:
ERROR test/integration_selenium - Failed: Defining 'pytest_plugins' in a non-top-level conftest is no longer supported:
```

Fixed them by passing to `pytest` all the direct subdirectories
instead of `test/`.
@nsoranzo
nsoranzo force-pushed the fix_check_test_class_names branch from 0b0a612 to 837d311 Compare July 8, 2026 10:46
@mvdbeek
mvdbeek merged commit d9243f2 into galaxyproject:dev Jul 8, 2026
59 of 62 checks passed
@github-project-automation github-project-automation Bot moved this from Needs Review to Done in Galaxy Dev - weeklies Jul 8, 2026
@nsoranzo
nsoranzo deleted the fix_check_test_class_names branch July 8, 2026 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

2 participants