mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
I know, this sucks. I spent all day trying to get to the bottom of the CI failures that started happening the other day with no luck. There is something going on with how we were moving the node_modules directory into the source tree from the pre-built location in /tmp. This was working, but then it broke. I hope to cycle back on this sometime next week if I have the time.
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.