Skip to content

chore: update codecov config #3

chore: update codecov config

chore: update codecov config #3

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 -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