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

FlexMeasures / flexmeasures / 29276017184
81%

Build:
DEFAULT BRANCH: main
Ran 13 Jul 2026 07:07PM UTC
Jobs 1
Files 168
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

13 Jul 2026 06:49PM UTC coverage: 81.482%. Remained the same
29276017184

push

github

web-flow
Chore: check on startup if the db schema is on alembic head  (#2309)

* chore: check on startup if the db schema is on alembic head and print a warning otherwise - useful for hosts. Concrete use case: do not creste templates in this case, so db CLI commands are still free to run.

Signed-off-by: Nicolas Höning <nicolas@seita.nl>

* add changelog entry

Signed-off-by: Nicolas Höning <nicolas@seita.nl>

* fix missing app context

Signed-off-by: Nicolas Höning <nicolas@seita.nl>

* do not show the warning when we already run the upgrade, also show the actual revisions to be more useful

Signed-off-by: Nicolas Höning <nicolas@seita.nl>

* upgrade the warning to error status to increase visibility, add the revision identifiers as well, adapt warning if db connectivity is the problem

Signed-off-by: Nicolas Höning <nicolas@seita.nl>

* more robust check if we are running db upgrade

Co-authored-by: Felix Claessen <30658763+Flix6x@users.noreply.github.com>
Signed-off-by: Nicolas Höning <iam@nicolashoening.de>

* do without the util function database_schema_is_migrated_to_head()

Co-authored-by: Felix Claessen <30658763+Flix6x@users.noreply.github.com>
Signed-off-by: Nicolas Höning <iam@nicolashoening.de>

---------

Signed-off-by: Nicolas Höning <nicolas@seita.nl>
Signed-off-by: Nicolas Höning <iam@nicolashoening.de>
Co-authored-by: Felix Claessen <30658763+Flix6x@users.noreply.github.com>

46 of 63 new or added lines in 4 files covered. (73.02%)

14538 of 17842 relevant lines covered (81.48%)

0.81 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
63.44
-3.65% flexmeasures/utils/app_utils.py
7
72.0
-28.0% flexmeasures/data/__init__.py
2
77.27
7.94% flexmeasures/data/utils.py
Jobs
ID Job ID Ran Files Coverage
1 29276017184.1 13 Jul 2026 07:07PM UTC 168
81.48
GitHub Action Run
Source Files on build 29276017184
  • Tree
  • List 168
  • Changed 5
  • Source Changed 5
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29276017184
  • 8d775f60 on github
  • Prev Build on main (#29204895686)
  • Next Build on main (#29319375371)
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