1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00
awx/tools/docker-compose/unit-tests
2017-03-10 11:53:37 -05:00
..
docker-compose.yml Default image tag for unit test container image. 2017-03-10 11:53:37 -05:00
Dockerfile Don't pre-build UI deps for unit tests 2017-03-09 18:54:24 -05:00
README.md Add instructions to rebuild unit test container 2016-09-20 09:56:19 -04:00

Run from the root of the repo:

$ docker-compose -f tools/docker-compose/unit-tests/docker-compose.yml run unit-tests

This will start the container, install the dependencies, and run the unit tests.

To rebuild:

$ docker-compose -f tools/docker-compose/unit-tests/docker-compose.yml build

If you just want to pop into a shell and poke around, run:

$ docker-compose -f tools/docker-compose/unit-tests/docker-compose.yml run unit-tests bash

If you run into any weirdness, it's probably a good idea to just give up and make clean.