Skip to content

upd vqa section (#281) #1071

upd vqa section (#281)

upd vqa section (#281) #1071

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ['3.13']
steps:
- name: cleanup disk space
uses: mathio/gha-cleanup@v1
with:
remove-browsers: true
verbose: true
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install -y ffmpeg
pip install spacy --no-binary blis # do not compile blis from source
pip install uv
uv pip install --system --no-cache-dir -e .[dev]
- name: Run pytest
run: |
cd ammico
python -m pytest -svv -m "not gcv and not long" --cov=. --cov-report=xml
- name: Upload coverage
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.13'
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
fail_ci_if_error: false
files: ammico/coverage.xml
verbose: true