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

chore: prevent tests from being run in subpackages #910

Merged
merged 3 commits into from
Oct 17, 2024

Conversation

kanadgupta
Copy link
Member

@kanadgupta kanadgupta commented Oct 17, 2024

🧰 Changes

This repo is a bit weird in that we need to build the dists before running our test suite, so running tests from the subpackages might result in confusing errors. This PR makes it so we have a bit of a nicer error in case of that.

@kanadgupta kanadgupta added the enhancement New feature or request label Oct 17, 2024
@kanadgupta kanadgupta marked this pull request as ready for review October 17, 2024 16:57
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

smol type fix i noticed — we don't type check tests so it's not really a concern

@kanadgupta kanadgupta merged commit fbea635 into main Oct 17, 2024
7 checks passed
@kanadgupta kanadgupta deleted the kanad-2024-10-17/remove-package-based-tests branch October 17, 2024 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants