Skip to content

chore(ci): add uploading to codecov #31

chore(ci): add uploading to codecov

chore(ci): add uploading to codecov #31

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: ruff
run: docker compose -f deploy/dev/docker-compose.yaml run tgdb ruff check src tests
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: mypy
run: docker compose -f deploy/dev/docker-compose.yaml run tgdb mypy src tests
pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: pytest
run: docker compose -f deploy/dev/docker-compose.yaml run tgdb pytest tests --cov --cov-report=xml
- name: upload coverage reports to codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}