mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-07-01 14:25:46 +00:00
tests: enable local testing on macOS / Darwin
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
import platform
|
||||
import re
|
||||
import subprocess
|
||||
|
||||
@ -7,6 +8,10 @@ import pytest
|
||||
|
||||
docker_client = docker.from_env()
|
||||
|
||||
pytestmark = pytest.mark.skipif(
|
||||
platform.system() == "Darwin",
|
||||
reason="Those tests rely entirely on being able to directly contact container's IP"
|
||||
)
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
|
@ -3,6 +3,9 @@ services:
|
||||
environment:
|
||||
HTTP_PORT: 8080
|
||||
HTTPS_PORT: 8443
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "8443:8443"
|
||||
|
||||
web1:
|
||||
image: web
|
||||
|
Reference in New Issue
Block a user