ci: Fix test dependencies for Docker and FreeBSD workflows

- Docker integration: Install pytest-cov to support coverage addopts
- FreeBSD: Install pytest-asyncio for ASGI async test support
This commit is contained in:
Benoit Chesneau 2026-01-22 19:33:57 +01:00
parent 1521266e2f
commit 81b653457c
2 changed files with 3 additions and 3 deletions

View File

@ -38,8 +38,8 @@ jobs:
- name: Install test dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest requests
python -m pip install pytest pytest-cov requests
- name: Run uWSGI integration tests
run: |
pytest tests/docker/uwsgi/ -v --tb=short -p no:cov
pytest tests/docker/uwsgi/ -v --tb=short

View File

@ -40,7 +40,7 @@ jobs:
python${{ matrix.python-version }} -m venv venv
. venv/bin/activate
pip install --upgrade pip
pip install pytest pytest-cov coverage
pip install pytest pytest-cov pytest-asyncio coverage
pip install -e .
pytest --cov=gunicorn -v tests/ \
--ignore=tests/workers/test_ggevent.py \