mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 03:01:21 +02:00
Fix CI backend-tests failing to collect FTP test suite
CI only installed requirements.txt, missing pyOpenSSL from requirements-dev.txt. This caused an ImportError on TLS_FTPHandler during test collection, blocking all unit/services tests. Also adds pytest-timeout to dev deps instead of ad-hoc pip install in CI.
This commit is contained in:
@@ -96,7 +96,7 @@ jobs:
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
pip install pytest pytest-asyncio pytest-cov pytest-timeout
|
||||
pip install -r requirements-dev.txt
|
||||
|
||||
- name: Run tests
|
||||
timeout-minutes: 10
|
||||
|
||||
@@ -3,6 +3,7 @@ pytest>=8.0.0
|
||||
pytest-asyncio>=0.23.0
|
||||
pytest-cov>=4.1.0
|
||||
pytest-xdist>=3.5.0
|
||||
pytest-timeout>=2.4.0
|
||||
httpx>=0.27.0
|
||||
ruff>=0.8.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user