diff options
| author | Adam Hupp <adam@hupp.org> | 2022-04-25 06:47:40 -0700 |
|---|---|---|
| committer | Adam Hupp <adam@hupp.org> | 2022-04-25 06:55:20 -0700 |
| commit | 6b34bde052be74334dad71963d92a1c49eecd168 (patch) | |
| tree | 586d4ff533a2d486bff65a26e237b2516fa11973 /test/README | |
| parent | 0fb1922da4a7b27bd19b75a03dca2f51bff4362f (diff) | |
| download | python-magic-6b34bde052be74334dad71963d92a1c49eecd168.tar.gz | |
improve test script name clarity; expand test docs; cleanup docker run script
Diffstat (limited to 'test/README')
| -rw-r--r-- | test/README | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/test/README b/test/README index 12d4e4f..c34cb6a 100644 --- a/test/README +++ b/test/README @@ -1,10 +1,6 @@ -To run the tests across a selection of Ubuntu LTS versions: +There are a few ways to run the python-magic tests -docker build -t "python_magic/xenial:latest" -f test/Dockerfile_xenial . -docker build -t "python_magic/bionic:latest" -f test/Dockerfile_bionic . -docker build -t "python_magic/focal:latest" -f test/Dockerfile_focal . - -docker run python_magic/xenial:latest -docker run python_magic/bionic:latest -docker run python_magic/focal:latest + 1. `pytest` will run the test suite against your default version of python + 2. `./test/run_all_versions.py` will run the tests against all installed versions of python. + 3. `./test/run_all_docker_test.sh` will run against a variety of different Linux distributions, using docker. |
