1
0
Fork 0

Set pytest.fixture scope to class, add Swarm E2E tests, and update Docker Swarm configurations

- Modified `pytest.fixture` scope to `class` across tests to improve fixture lifecycle and reduce setup overhead.
- Introduced a new `tests_e2e/test_swarm.py` test suite for Docker Swarm stack configurations.
- Added E2E tests for Swarm mode with scenarios such as basic services and combined plugins.
- Updated HAProxy image in Swarm stack `.yml` files to `byjg/easy-haproxy:local` for local testing consistency.
- Added `swarm` marker in `pyproject.toml` for differentiating Docker Swarm-specific tests.
- Updated GitHub workflows to include a new Swarm E2E test pipeline.
This commit is contained in:
Joao Gilberto Magalhaes 2026-02-18 15:28:07 -05:00
parent 16fcee4280
commit d9c7ff89cc
11 changed files with 682 additions and 22 deletions

View file

@ -69,6 +69,7 @@ markers = [
"static: marks tests for static configuration mode",
"acme: marks tests for certbot/acme",
"proxy_headers: marks tests for proxy headers",
"swarm: marks tests for Docker Swarm mode",
]
[tool.ruff]