Skip to content

chore: increase sqlite test coverage #19

chore: increase sqlite test coverage

chore: increase sqlite test coverage #19

Workflow file for this run

name: Backend Tests
on:
push:
paths:
- '**/*.py'
- 'tests/**'
- '.github/workflows/backend-tests.yml'
- 'requirements-ci.txt'
pull_request:
paths:
- '**/*.py'
- 'tests/**'
- '.github/workflows/backend-tests.yml'
- 'tauri-ui/package.json'
jobs:
backend-coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: echo "PYTHONPATH=$(pwd)" >> $GITHUB_ENV
- run: |
python -m pip install --upgrade pip
pip install --extra-index-url https://download.pytorch.org/whl/cpu -r requirements-ci.txt
- run: |
python -m pytest --cov=engine --cov-report=term --cov-report=xml tests/unit/
- uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: backend
fail_ci_if_error: true