зеркало из
https://github.com/ssciwr/AMMICO.git
synced 2025-10-30 05:26:05 +02:00
maintain: update CI workflow
Этот коммит содержится в:
родитель
55640a8813
Коммит
1347a26cba
25
.github/workflows/ci.yml
поставляемый
25
.github/workflows/ci.yml
поставляемый
@ -31,17 +31,12 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install -e .
|
pip install -e .
|
||||||
pip install typing_extensions==4.13.0
|
|
||||||
# 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 test_colors
|
||||||
run: |
|
run: |
|
||||||
cd ammico
|
cd ammico
|
||||||
python -m pytest test/test_colors.py -svv --cov=. --cov-report=xml --cov-append
|
python -m pytest test/test_colors.py -svv --cov=. --cov-report=xml --cov-append
|
||||||
- name: Run pytest test_cropposts
|
|
||||||
run: |
|
|
||||||
cd ammico
|
|
||||||
python -m pytest test/test_cropposts.py -svv --cov=. --cov-report=xml --cov-append
|
|
||||||
- name: Run pytest test_display
|
- name: Run pytest test_display
|
||||||
run: |
|
run: |
|
||||||
cd ammico
|
cd ammico
|
||||||
@ -50,22 +45,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd ammico
|
cd ammico
|
||||||
python -m pytest test/test_faces.py -svv --cov=. --cov-report=xml --cov-append
|
python -m pytest test/test_faces.py -svv --cov=. --cov-report=xml --cov-append
|
||||||
- name: Run pytest test_multimodal_search
|
|
||||||
run: |
|
|
||||||
cd ammico
|
|
||||||
python -m pytest test/test_multimodal_search.py -m "not long" -svv --cov=. --cov-report=xml --cov-append
|
|
||||||
- name: Clear cache ubuntu 1
|
|
||||||
if: matrix.os == 'ubuntu-22.04'
|
|
||||||
run: |
|
|
||||||
rm -rf ~/.cache/*
|
|
||||||
- name: Run pytest test_summary
|
|
||||||
run: |
|
|
||||||
cd ammico
|
|
||||||
python -m pytest test/test_summary.py -m "not long" -svv --cov=. --cov-report=xml --cov-append
|
|
||||||
- name: Clear cache ubuntu 2
|
|
||||||
if: matrix.os == 'ubuntu-24.04'
|
|
||||||
run: |
|
|
||||||
rm -rf ~/.cache/*
|
|
||||||
- name: Run pytest test_text
|
- name: Run pytest test_text
|
||||||
run: |
|
run: |
|
||||||
cd ammico
|
cd ammico
|
||||||
@ -74,10 +53,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd ammico
|
cd ammico
|
||||||
python -m pytest test/test_utils.py -svv --cov=. --cov-report=xml --cov-append
|
python -m pytest test/test_utils.py -svv --cov=. --cov-report=xml --cov-append
|
||||||
- name: Run Notebook tests
|
|
||||||
run: |
|
|
||||||
cd ammico/notebooks
|
|
||||||
python -m pytest --nbval DemoNotebook_ammico_MultimodalSearch.ipynb
|
|
||||||
|
|
||||||
- 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'
|
||||||
|
|||||||
Загрузка…
x
Ссылка в новой задаче
Block a user