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

aiidateam / aiida-core / 7670 / 4
70%
develop: 70%

Build:
DEFAULT BRANCH: develop
Ran 01 Dec 2019 10:09PM UTC
Files 418
Run time 22s
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

01 Dec 2019 10:09PM UTC coverage: 70.864% (-0.01%) from 70.878%
AIIDA_TEST_BACKEND=sqlalchemy TEST_TYPE="tests"

push

travis-ci

web-flow
Refactor the code dealing with database into `BackendManager` (#3582)

The code that acts directly with the database, outside of the ORM, for
example to check the database schema generation and version, or to get
data from the `DbSettings` table has been refactored. The ORM requires
the database environment to be loaded, but to do that the database
schema needs to be verified which also requires accessing the database.
This functionality was implemented mostly in free-standing functions and
separately for both backends. This is reorganized into a `BackendManager`
abstract class and implemented for Django and SqlAlchemy. This
centralizes the functionality required to verify database schema and
perform the migrations thereof.

23186 of 32719 relevant lines covered (70.86%)

0.71 hits per line

Source Files on job 7670.4 (AIIDA_TEST_BACKEND=sqlalchemy TEST_TYPE="tests")
  • Tree
  • List 0
  • Changed 17
  • Source Changed 17
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 805
  • Travis Job 7670.4
  • cdcfb4f6 on github
  • Prev Job for AIIDA_TEST_BACKEND=sqlalchemy TEST_TYPE="tests" on develop (#7668.4)
  • Next Job for AIIDA_TEST_BACKEND=sqlalchemy TEST_TYPE="tests" on develop (#7672.4)
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

© 2025 Coveralls, Inc