We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
rye test --all
At this point, rye is trying to run every test it can find, not just tests in my workspace members.
Example layout for a large monorepo
Structure:
project/ crates/ # Rust crates published to Crates.IO pypi/ # Python wheels published to pypi tools/ # Random tools that I don't care about
Root toml:
[project] name = "project" version = "0.1.0" description = "Add your description here" authors = [ { name = "Bob", email = "[email protected]" } ] dependencies = [] readme = "README.md" requires-python = ">= 3.9" [tool.rye] managed = true virtual = true dev-dependencies = [ "pytest>=8.0.2", ] [tool.rye.workspace] members = ["pypi/*"]
I expect that rye will only run the tests for project members in pypi/.
pypi/
Rye is running every test file in the entire repo, including the tools directory.
rye 0.28.0 commit: 0.28.0 (c44dc7e 2024-03-07) platform: macos (aarch64) self-python: [email protected] symlink support: true uv enabled: false
No response
The text was updated successfully, but these errors were encountered:
Can reproduce, weirdly enough rye test --all and rye test don't have the same behaviour
rye test
Version:
rye 0.28.0 commit: 0.26.0+54 (73cd886 2024-03-05) platform: windows (x86_64) self-python: [email protected] symlink support: true uv enabled: true
Sorry, something went wrong.
After self update this is 100% reproducible.
rye 0.29.0 commit: 0.28.0+6 (9484b1a 2024-03-08) platform: windows (x86_64) self-python: [email protected] symlink support: true uv enabled: true
Successfully merging a pull request may close this issue.
Steps to Reproduce
rye test --all
At this point, rye is trying to run every test it can find, not just tests in my workspace members.
Example layout for a large monorepo
Structure:
Root toml:
Expected Result
I expect that rye will only run the tests for project members in
pypi/
.Actual Result
Rye is running every test file in the entire repo, including the tools directory.
Version Info
rye 0.28.0
commit: 0.28.0 (c44dc7e 2024-03-07)
platform: macos (aarch64)
self-python: [email protected]
symlink support: true
uv enabled: false
Stacktrace
No response
The text was updated successfully, but these errors were encountered: