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

Move broken plugin samples to disabled folders #5642

Merged
merged 7 commits into from
Oct 1, 2023

Conversation

matmair
Copy link
Contributor

@matmair matmair commented Oct 1, 2023

This PR moves the broken plugin samples out of default samples to make tests faster and considerably shorten the action run logs (they are currently mainly the intentional raise and intentional reload of broken files and broken samples).
The broken samples should only run once as that is enough to get coverage and validate functionality.

A small change is needed due to the removal of the constant double-reloading: Tests that add new plugins (like the test_folder_loading test) need to intentionally trigger the collection of plugins.

@matmair matmair added the CI CI / unit testing ecosystem label Oct 1, 2023
@matmair matmair self-assigned this Oct 1, 2023
@netlify
Copy link

netlify bot commented Oct 1, 2023

Deploy Preview for inventree canceled.

Name Link
🔨 Latest commit ce43d8f
🔍 Latest deploy log https://app.netlify.com/sites/inventree/deploys/6519f7649966b5000878ae09

@matmair matmair changed the title Move broken samples to disabled folders Move broken plugin samples to disabled folders Oct 1, 2023
@matmair matmair added the plugin Plugin ecosystem label Oct 1, 2023
@matmair matmair marked this pull request as ready for review October 1, 2023 23:19
@SchrodingersGat SchrodingersGat merged commit e767516 into inventree:master Oct 1, 2023
20 checks passed
@SchrodingersGat
Copy link
Member

LGTM, thanks @matmair

@matmair matmair deleted the make-plugin-tests-faster branch October 2, 2023 00:00
@matmair
Copy link
Contributor Author

matmair commented Oct 2, 2023

@SchrodingersGat hopefully this helps with debugging #5509 #5632

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI CI / unit testing ecosystem plugin Plugin ecosystem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants