#19941 Is there a way to only run tests with a certain dependency?
New discussion created by
charlietsai
I am using Pants with Python and would like to only run tests
with and
without a certain dependency. This particular dependency provides some native library integrations and is a bit peculiar with resources used, so we want to run it separately in our CI process. One job will run all tests with this dependency and another job will run all tests without this dependency.
Is there a way to do this?
I tried using
dependees
and pipe-ing that to
pants test
but that didn't seem to work. I also don't know how to do the inverse of that where I want to exclude that dependency and run all other tests.
Any help appreciated!
pantsbuild/pants