mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Backport RedisStorage, deep-linking
This commit is contained in:
parent
bc96bdd3b6
commit
988d55ff65
30 changed files with 852 additions and 183 deletions
6
Makefile
6
Makefile
|
|
@ -6,6 +6,8 @@ python := $(py) python
|
|||
|
||||
reports_dir := reports
|
||||
|
||||
redis_connection := redis://localhost:6379
|
||||
|
||||
.PHONY: help
|
||||
help:
|
||||
@echo "======================================================================================="
|
||||
|
|
@ -99,12 +101,12 @@ lint: isort black flake8 mypy
|
|||
|
||||
.PHONY: test
|
||||
test:
|
||||
$(py) pytest --cov=aiogram --cov-config .coveragerc tests/
|
||||
$(py) pytest --cov=aiogram --cov-config .coveragerc tests/ --redis $(redis_connection)
|
||||
|
||||
.PHONY: test-coverage
|
||||
test-coverage:
|
||||
mkdir -p $(reports_dir)/tests/
|
||||
$(py) pytest --cov=aiogram --cov-config .coveragerc --html=$(reports_dir)/tests/index.html tests/
|
||||
$(py) pytest --cov=aiogram --cov-config .coveragerc --html=$(reports_dir)/tests/index.html tests/ --redis $(redis_connection)
|
||||
|
||||
.PHONY: test-coverage-report
|
||||
test-coverage-report:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue