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 .
# python -m pip install uv
# uv pip install --system -e .
- name: Run pytest test_colors
- name: Run pytest
run: |
cd ammico
python -m pytest test/test_colors.py -svv --cov=. --cov-report=xml --cov-append
- 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
python -m pytest -svv --cov=. --cov-report=xml
- name: Upload coverage
if: matrix.os == 'ubuntu-24.04' && matrix.python-version == '3.11'
uses: codecov/codecov-action@v3

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

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