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

Add exclude option #56

Open
thenets opened this issue Jan 19, 2023 · 2 comments
Open

Add exclude option #56

thenets opened this issue Jan 19, 2023 · 2 comments
Labels
question Further information is requested

Comments

@thenets
Copy link

thenets commented Jan 19, 2023

Would be great to have the --exclude parameter exposed.

For example, I don't want to run the linter against my docs/, since it's generated automatically.

@itdove
Copy link

itdove commented Jan 27, 2023

If you don't want to skip only few test types (pylint!skip) a solution could be to use the option pre-test-cmd: to delete the directories you don't want to test.

          testing-type: sanity
          pre-test-cmd: rm -rf <directory to ignore>

@webknjaz
Copy link
Member

webknjaz commented Mar 9, 2023

@thenets it seems like what you're asking is skipping the check on docs changes? I'm pretty sure --exclude does not do what you think it does. It allows skipping integration test targets by name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants