https://pantsbuild.org/ logo
#general
Title
# general
c

chilly-tailor-75063

11/06/2022, 4:34 PM
Hi all, I can understand how I don’t need to install black, isort, and pylint locally as they are static file checkers, and Pants will grab them as needed to run them. I’m not sure what to do about pytest. I want to run pytest in the Docker container for the project/application so the tests run in the same environment that the application will run in when in production. Is there a post anywhere about how to go about doing this?
h

happy-kitchen-89482

11/06/2022, 4:51 PM
Hi, this is coming soon! (in 2.15.x), for which an alpha release now exists. See https://github.com/pantsbuild/pants/pull/17096
f

fast-nail-55400

11/06/2022, 5:37 PM
Specifically the
docker_environment
which will run build actions within a Docker container.