Add code coverage
This commit is contained in:
@@ -2,11 +2,14 @@ language: python
|
||||
python:
|
||||
- '3.8'
|
||||
script:
|
||||
- pytest tests/
|
||||
- pytest --cov-report=xml --cov=aiohttp_pydantic tests/
|
||||
install:
|
||||
- pip install -U setuptools wheel pip
|
||||
- pip install -r test_requirements.txt
|
||||
- pip install -r requirements/test.txt
|
||||
- pip install -r requirements/ci.txt
|
||||
- pip install .
|
||||
after_success:
|
||||
- codecov
|
||||
deploy:
|
||||
provider: pypi
|
||||
username: __token__
|
||||
@@ -16,4 +19,4 @@ deploy:
|
||||
on:
|
||||
tags: true
|
||||
branch: main
|
||||
python: '3.8'
|
||||
python: '3.8'
|
||||
|
||||
Reference in New Issue
Block a user