From 81b653457c72b506ab85b66ef92c78f101f59dbf Mon Sep 17 00:00:00 2001 From: Benoit Chesneau Date: Thu, 22 Jan 2026 19:33:57 +0100 Subject: [PATCH] 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 --- .github/workflows/docker-integration.yml | 4 ++-- .github/workflows/freebsd.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-integration.yml b/.github/workflows/docker-integration.yml index 2e918780..1333b103 100644 --- a/.github/workflows/docker-integration.yml +++ b/.github/workflows/docker-integration.yml @@ -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 diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml index 060f40ca..120cc909 100644 --- a/.github/workflows/freebsd.yml +++ b/.github/workflows/freebsd.yml @@ -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 \