I have a
circle.yml file that runs things like
docker-compose -f ci/docker-compose.ci.yml run web pytests. It’s working dandy and everything but… Within that container it generates a
/test_artifacts/pytest.xml file that I’d like to extract and use in the CircleCI error reporting.
If volume mounts worked, I could have used that in my
docker-compose.ci.yml but that’s not an option because CircleCI Docker doesn’t support volume mounts. Switching to the slower
machine executor isn’t attractive.
Basically, I have a file inside that docker container I’d now like to get out. Any hot tips on how to make that work? Also, it would be nice to be able to get to that file in case the tests fail. I.e. the above
docker-compose command exits !0.