mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-07-02 23:05:46 +00:00
Tests: support custom 'docker compose' command
Enable overriding default 'docker compose' command with environment variable 'DOCKER_COMPOSE'. This way docker compose v1 is still supported with: $ DOCKER_COMPOSE=docker-compose pytest This is important because people using the Debian packaged docker compose are stuck to v1.
This commit is contained in:
@ -28,6 +28,9 @@ need more verbosity ?
|
||||
|
||||
pytest -s
|
||||
|
||||
Note: By default this test suite relies on Docker Compose v2 with the command `docker compose`. It still supports Docker Compose v1 via the `DOCKER_COMPOSE` environment variable:
|
||||
|
||||
DOCKER_COMPOSE=docker-compose pytest
|
||||
|
||||
Run one single test module
|
||||
--------------------------
|
||||
|
Reference in New Issue
Block a user