Join Slack
Powered by
Hello everyone, is there a way to run specific tes...
# general
w
worried-piano-22913
08/07/2024, 3:50 PM
Hello everyone, is there a way to run specific tests always inside a specific container? Ideally i could even specifiy if it is my own local image or if it has to be pulled.
e
elegant-florist-94385
08/07/2024, 4:10 PM
I haven't tried this yet, but it looks like you would use
https://www.pantsbuild.org/2.21/docs/using-pants/environments
to declare a docker image as an "environment"
elegant-florist-94385
08/07/2024, 4:11 PM
Then you would attach the environment metadata to a particular test using eg.
python_test(environment="my docker env")
3
Views
Open in Slack
Previous
Next