mirror of
https://github.com/ansible/awx.git
synced 2026-02-19 20:20:06 -03:30
Fix pip install in unit test container
The SWIG_FEATURES environment variable is to get pip install working with M2Crypto==0.22.3. It works without SWIG_FEATURES if we update to M2Crypto >= 0.23.0. Also did some organization, add README.
This commit is contained in:
15
tools/docker-compose/unit-tests/README.md
Normal file
15
tools/docker-compose/unit-tests/README.md
Normal file
@@ -0,0 +1,15 @@
|
||||
Run from the root of the repo:
|
||||
|
||||
```shell
|
||||
$ 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.
|
||||
|
||||
If you just want to pop into a shell and poke around, run:
|
||||
|
||||
```shell
|
||||
$ 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`.
|
||||
Reference in New Issue
Block a user