flat-zoo-31952
11/01/2023, 3:19 PMpants package
? My issue is that Pants consumes precious precious memory that I need for my tests, so I'm thinking of doing something akin to
pants package path/to/my:tests
pkill pantsd
./dist/path.to.my/tests.pex
curved-television-6568
11/01/2023, 3:24 PM__run.sh
from the sandbox..curved-television-6568
11/01/2023, 3:25 PMflat-zoo-31952
11/01/2023, 3:33 PMcurved-television-6568
11/01/2023, 3:41 PMflat-zoo-31952
11/01/2023, 3:44 PMenough-analyst-54434
11/01/2023, 4:12 PMpants export
do it? You could then run pytest
on your actual repo sources.enough-analyst-54434
11/01/2023, 4:13 PMflat-zoo-31952
11/01/2023, 4:19 PMflat-zoo-31952
11/01/2023, 4:21 PMenough-analyst-54434
11/01/2023, 4:26 PMenough-analyst-54434
11/01/2023, 4:26 PMenough-analyst-54434
11/01/2023, 4:28 PMflat-zoo-31952
11/01/2023, 4:52 PMflat-zoo-31952
11/01/2023, 4:54 PMsudo podman
permissions, so nobody felt really great about exposing thatenough-analyst-54434
11/01/2023, 4:57 PMpants test ...
) but that uses too much mem; so I would think you could pants export && dist/venv/bin/pytest ...
instead (unless even pants export
takes too much mem). But your situation sounds maybe more complicated than I grasp.flat-zoo-31952
11/01/2023, 7:57 PMpants export
on the remote machine before the tests startenough-analyst-54434
11/01/2023, 8:05 PMpants test ...
- because too much mem use, was a bit misleading. Or maybe not.flat-zoo-31952
11/01/2023, 8:11 PM