Skip to content

Commit d5ea7c6

Browse files
authored
Fix installing with poetry>=2 (#1885)
use project section in pyproject.toml
1 parent d8aeb1e commit d5ea7c6

File tree

5 files changed

+851
-529
lines changed

5 files changed

+851
-529
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
DEST_FASTAPI: examples/fastapi
7878
DEST_BLACKSHEEP: examples/blacksheep
7979
PYTHONDEVMODE: 1
80-
PYTEST_ARGS: "-n auto --cov=tortoise --cov-append --tb=native -q"
80+
PYTEST_ARGS: "-n auto --cov=tortoise --cov-append --cov-branch --tb=native -q"
8181
- name: Upload Coverage
8282
run: |
8383
pip3 install --upgrade coveralls

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
checkfiles = tortoise/ examples/ tests/ conftest.py
22
py_warn = PYTHONDEVMODE=1
3-
pytest_opts = -n auto --cov=tortoise --cov-append --tb=native -q
3+
pytest_opts = -n auto --cov=tortoise --cov-append --cov-branch --tb=native -q
44

55
TORTOISE_MYSQL_PASS ?= 123456
66
TORTOISE_POSTGRES_PASS ?= 123456

0 commit comments

Comments
 (0)