[3.x] Bot API 5.5 (#777)

* Re-generate API, cover changes

* Added patchnotes
This commit is contained in:
Alex Root Junior 2021-12-12 17:21:01 +02:00 committed by GitHub
parent 92ec44d8d2
commit 9ec689b562
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 333 additions and 15 deletions

View file

@ -82,13 +82,16 @@ reformat:
# =================================================================================================
# Tests
# =================================================================================================
.PHONY: test-run-services
test-run-services:
docker-compose -f tests/docker-compose.yml -p aiogram3-dev up -d
.PHONY: test
test:
test: test-run-services
$(py) pytest --cov=aiogram --cov-config .coveragerc tests/ --redis $(redis_connection)
.PHONY: test-coverage
test-coverage:
test-coverage: test-run-services
mkdir -p $(reports_dir)/tests/
$(py) pytest --cov=aiogram --cov-config .coveragerc --html=$(reports_dir)/tests/index.html tests/ --redis $(redis_connection)