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

fix:default_runner: Look for marker files within all possible root_dirs #156

Merged

Conversation

a3ng7n
Copy link
Contributor

@a3ng7n a3ng7n commented Aug 29, 2024

Changes default_runner to run its same logic over each folder path returned by root_dirs(), returning the first success - if none are found, it defaults to unittest.

Note: this removes the trailing return 'unittest' from within the elseif uv.fs_stat("pyproject.toml") then ... scope, and instead proceeds with checking the next root folder in the loop - this is intentional.

Also updates associated docs to note the logic.

@a3ng7n
Copy link
Contributor Author

a3ng7n commented Sep 5, 2024

@mfussenegger sorry to bother, but have you had a chance to look at this?

@mfussenegger mfussenegger merged commit 0844bf3 into mfussenegger:master Sep 8, 2024
1 of 3 checks 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.

2 participants