File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 53
53
curl -LsSf https://astral.sh/uv/install.sh | sh
54
54
uv sync --all-extras --frozen --no-install-project
55
55
uv run alembic upgrade head
56
- uv run pytest
56
+ uv run pytest . --cov=. --cov-report xml
57
57
env:
58
58
ENVIRONMENT: dev
59
59
PYTHONDONTWRITEBYTECODE: 1
60
60
PYTHONUNBUFFERED: 1
61
61
DB_HOST: 127.0.0.1
62
+ - name : Upload coverage to Codecov
63
+
64
+ env :
65
+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
66
+ with :
67
+ files : ./coverage.xml
68
+ flags : unittests
69
+ name : codecov-${{ matrix.python-version }}
Original file line number Diff line number Diff line change 1
1
## Async template on LiteStar and SQLAlchemy 2
2
2
3
+ [ ![ Test Coverage] ( https://codecov.io/gh/modern-python/litestar-sqlalchemy-template/branch/main/graph/badge.svg )] ( https://codecov.io/gh/modern-python/litestar-sqlalchemy-template )
3
4
[ ![ GitHub issues] ( https://img.shields.io/github/issues/modern-python/litestar-sqlalchemy-template )] ( https://github.com/modern-python/litestar-sqlalchemy-template/issues )
4
5
[ ![ GitHub forks] ( https://img.shields.io/github/forks/modern-python/litestar-sqlalchemy-template )] ( https://github.com/modern-python/litestar-sqlalchemy-template/network )
5
6
[ ![ GitHub stars] ( https://img.shields.io/github/stars/modern-python/litestar-sqlalchemy-template )] ( https://github.com/modern-python/litestar-sqlalchemy-template/stargazers )
6
- [ ![ GitHub license] ( https://img.shields.io/github/license/modern-python/litestar-sqlalchemy-template )] ( https://github.com/modern-python/litestar-sqlalchemy-template/blob/main/LICENSE )
7
7
8
8
### Description
9
9
Production-ready dockerized async REST API on LiteStar with SQLAlchemy and PostgreSQL
You can’t perform that action at this time.
0 commit comments