maintain: run all tests together in CI, remove version restrictions

Этот коммит содержится в:
Inga Ulusoy 2025-09-08 20:28:10 +02:00
родитель 1347a26cba
Коммит b1a4e16588
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: BDC64F2E85CF8272
2 изменённых файлов: 8 добавлений и 25 удалений

21
.github/workflows/ci.yml поставляемый
Просмотреть файл

@ -33,27 +33,10 @@ jobs:
pip install -e . pip install -e .
# python -m pip install uv # python -m pip install uv
# uv pip install --system -e . # uv pip install --system -e .
- name: Run pytest test_colors - name: Run pytest
run: | run: |
cd ammico cd ammico
python -m pytest test/test_colors.py -svv --cov=. --cov-report=xml --cov-append python -m pytest -svv --cov=. --cov-report=xml
- name: Run pytest test_display
run: |
cd ammico
python -m pytest test/test_display.py -svv --cov=. --cov-report=xml --cov-append
- name: Run pytest test_faces
run: |
cd ammico
python -m pytest test/test_faces.py -svv --cov=. --cov-report=xml --cov-append
- name: Run pytest test_text
run: |
cd ammico
python -m pytest test/test_text.py -m "not gcv" -svv --cov=. --cov-report=xml --cov-append
- name: Run pytest test_utils
run: |
cd ammico
python -m pytest test/test_utils.py -svv --cov=. --cov-report=xml --cov-append
- name: Upload coverage - name: Upload coverage
if: matrix.os == 'ubuntu-24.04' && matrix.python-version == '3.11' if: matrix.os == 'ubuntu-24.04' && matrix.python-version == '3.11'
uses: codecov/codecov-action@v3 uses: codecov/codecov-action@v3

Просмотреть файл

@ -20,10 +20,10 @@ classifiers = [
] ]
dependencies = [ dependencies = [
"dash>=2.11.0", "dash",
"dash-bootstrap-components", "dash-bootstrap-components",
"datasets", "datasets",
"deepface<=0.0.93", "deepface",
"googletrans==4.0.0rc1", "googletrans==4.0.0rc1",
"google-cloud-vision", "google-cloud-vision",
"grpcio", "grpcio",
@ -34,7 +34,7 @@ dependencies = [
"jupyter_dash", "jupyter_dash",
"matplotlib", "matplotlib",
"nbval", "nbval",
"numpy<=1.23.4", "numpy",
"opencv-python", "opencv-python",
"pandas", "pandas",
"Pillow", "Pillow",
@ -42,13 +42,13 @@ dependencies = [
"pytest", "pytest",
"pytest-cov", "pytest-cov",
"retina_face", "retina_face",
"huggingface-hub<=0.25.2", "huggingface-hub",
"setuptools", "setuptools",
"spacy<=3.7.5", "spacy",
"tensorflow", "tensorflow",
"google-cloud-vision", "google-cloud-vision",
"colorgram.py", "colorgram.py",
"webcolors>1.13", "webcolors",
"colour-science", "colour-science",
"tqdm" "tqdm"
] ]