зеркало из
https://github.com/ssciwr/AMMICO.git
synced 2025-10-29 13:06:04 +02:00
maintain: run all tests together in CI, remove version restrictions
Этот коммит содержится в:
родитель
1347a26cba
Коммит
b1a4e16588
21
.github/workflows/ci.yml
поставляемый
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"
|
||||
]
|
||||
|
||||
Загрузка…
x
Ссылка в новой задаче
Block a user