mirror of
https://github.com/frappe/gunicorn.git
synced 2026-07-07 21:21:30 +08:00
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:
parent
1521266e2f
commit
81b653457c
4
.github/workflows/docker-integration.yml
vendored
4
.github/workflows/docker-integration.yml
vendored
@ -38,8 +38,8 @@ jobs:
|
|||||||
- name: Install test dependencies
|
- name: Install test dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
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
|
- name: Run uWSGI integration tests
|
||||||
run: |
|
run: |
|
||||||
pytest tests/docker/uwsgi/ -v --tb=short -p no:cov
|
pytest tests/docker/uwsgi/ -v --tb=short
|
||||||
|
|||||||
2
.github/workflows/freebsd.yml
vendored
2
.github/workflows/freebsd.yml
vendored
@ -40,7 +40,7 @@ jobs:
|
|||||||
python${{ matrix.python-version }} -m venv venv
|
python${{ matrix.python-version }} -m venv venv
|
||||||
. venv/bin/activate
|
. venv/bin/activate
|
||||||
pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
pip install pytest pytest-cov coverage
|
pip install pytest pytest-cov pytest-asyncio coverage
|
||||||
pip install -e .
|
pip install -e .
|
||||||
pytest --cov=gunicorn -v tests/ \
|
pytest --cov=gunicorn -v tests/ \
|
||||||
--ignore=tests/workers/test_ggevent.py \
|
--ignore=tests/workers/test_ggevent.py \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user