Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename framework workflow test script for easier test collection #18923

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

mvdbeek
Copy link
Member

@mvdbeek mvdbeek commented Oct 2, 2024

If you want to run or collect workflow tests now you've got to indicate the full path currently (i.e. pytest --collect-only lib/galaxy_test/workflow/tests.py). With this change pytest --collect-only lib/galaxy_test/workflow/ or just pytest --collect-only lib/galaxy_test/ will also discover the workflow tests.

Screenshot 2024-10-02 at 16 25 28

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.

If you want to run or collect workflow tests now you've got to indicate
the full path currently (i.e. `pytest --collect-only
lib/galaxy_test/workflow/tests.py`). With this change `pytest
--collect-only lib/galaxy_test/workflow/` or just `pytest --collect-only
lib/galaxy_test/` will also discover the workflow tests.
@github-actions github-actions bot added this to the 24.2 milestone Oct 2, 2024
@mvdbeek mvdbeek merged commit a4c640e into galaxyproject:dev Oct 2, 2024
55 of 56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants