• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tortoise / tortoise-orm / 21412930444
85%
master: 94%

Build:
Build:
LAST BUILD BRANCH: v0.25.x
DEFAULT BRANCH: master
Ran 27 Jan 2026 08:37PM UTC
Jobs 6
Files 128
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Jan 2026 08:25PM UTC coverage: 85.251% (-5.4%) from 90.677%
21412930444

push

github

web-flow
Add native migrations solution (#2061)

* Introduce experimental schema generation and migration utilities

* Introduce `TortoiseConfig` for typed configuration and improve field alteration logic

* Added schema editor classes for Asyncpg, Psycopg, and Sqlite; enhanced migration functionality with unique constraints and index management

* Implement migration executor and planning functionality

* Added migration writer and test suite for migration operations

* Implement migration autodetector for automatic migration generation

* Implement migration autodetector for automatic migration generation

* Add multiapp migrations example project and update mssql driver options support

* Enhance migration API initialization with lazy connection handling

* Added RunPython operation support

* Fixed lint and ensured testsuite running

* Lint CI debug

* Lint CI debug

* Test CI debug

* Test CI debug

* Update documentation

* Update README

* Add module entry point for `python -m tortoise` and update README

* Refactor CLI to use argparse to remove asyncclick

* Refactor build parser function in smaller ones

2437 of 3215 branches covered (75.8%)

Branch coverage included in aggregate %.

2864 of 3581 new or added lines in 44 files covered. (79.98%)

42 existing lines in 3 files now uncovered.

9366 of 10630 relevant lines covered (88.11%)

5.27 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
97.25
-0.68% tortoise/backends/base/schema_generator.py
1
98.32
-1.68% tortoise/connection.py
1
97.3
-0.87% tortoise/contrib/test/__init__.py
1
96.25
tortoise/migrations/schema_generator/operation_generator.py
2
50.0
tortoise/cli/__init__.py
2
94.81
tortoise/migrations/migration.py
3
0.0
tortoise/__main__.py
3
83.33
-4.17% tortoise/backends/mssql/client.py
3
92.39
tortoise/cli/utils.py
3
94.37
tortoise/migrations/recorder.py
5
79.92
-9.21% tortoise/__init__.py
6
88.24
-1.34% tortoise/fields/base.py
6
0.0
tortoise/migrations/expressions.py
7
84.34
tortoise/migrations/schema_generator/state_apps.py
9
84.38
tortoise/migrations/schema_editor/mysql.py
10
88.31
tortoise/migrations/schema_generator/state_diff.py
11
87.12
tortoise/migrations/schema_generator/state.py
12
65.22
tortoise/migrations/schema_editor/base_postgres.py
14
75.56
tortoise/migrations/schema_editor/mssql.py
15
60.27
tortoise/migrations/api/migrate.py
18
91.93
tortoise/apps.py
20
84.02
tortoise/migrations/autodetector.py
20
84.32
tortoise/migrations/executor.py
20
73.91
tortoise/migrations/loader.py
20
64.29
tortoise/migrations/schema_editor/oracle.py
24
72.22
tortoise/migrations/graph.py
24
55.07
tortoise/migrations/schema_editor/sqlite.py
42
63.87
tortoise/config.py
43
11.54
tortoise/migrations/api/plan.py
53
78.96
tortoise/migrations/writer.py
65
72.84
tortoise/migrations/schema_editor/base.py
67
77.66
tortoise/cli/cli.py
186
59.23
tortoise/migrations/operations.py

Uncovered Existing Lines

Lines Coverage ∆ File
3
94.58
-1.81% tortoise/backends/odbc/client.py
18
95.21
0.0% tortoise/models.py
21
96.09
-0.0% tortoise/queryset.py
Jobs
ID Job ID Ran Files Coverage
1 3.9 - 21412930444.1 27 Jan 2026 08:43PM UTC 128
84.98
GitHub Action Run
2 3.12 - 21412930444.2 27 Jan 2026 08:43PM UTC 128
85.03
GitHub Action Run
3 3.10 - 21412930444.3 27 Jan 2026 08:43PM UTC 128
85.06
GitHub Action Run
4 3.13 - 21412930444.4 27 Jan 2026 08:43PM UTC 128
85.03
GitHub Action Run
5 3.11 - 21412930444.5 27 Jan 2026 08:43PM UTC 128
85.06
GitHub Action Run
6 3.14 - 21412930444.6 27 Jan 2026 08:43PM UTC 128
85.04
GitHub Action Run
Source Files on build 21412930444
  • Tree
  • List 128
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 913b556c on github
  • Prev Build on develop (#20909968220)
  • Next Build on develop (#21430861593)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc