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

aiidateam / aiida-core / 7670
70%

Build:
DEFAULT BRANCH: develop
Ran 01 Dec 2019 10:09PM UTC
Jobs 4
Files 1254
Run time 14min
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

pending completion
7670

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.

361 of 361 new or added lines in 15 files covered. (100.0%)

74656 of 98155 relevant lines covered (76.06%)

2.82 hits per line

Jobs
ID Job ID Ran Files Coverage
3 7670.3 (AIIDA_TEST_BACKEND=django TEST_TYPE="tests") 01 Dec 2019 10:09PM UTC 0
70.06
Travis Job 7670.3
4 7670.4 (AIIDA_TEST_BACKEND=sqlalchemy TEST_TYPE="tests") 01 Dec 2019 10:09PM UTC 0
70.86
Travis Job 7670.4
8 7670.8 (AIIDA_TEST_BACKEND=django TEST_TYPE="tests") 01 Dec 2019 10:22PM UTC 0
69.96
Travis Job 7670.8
9 7670.9 (AIIDA_TEST_BACKEND=sqlalchemy TEST_TYPE="tests") 01 Dec 2019 10:23PM UTC 0
70.78
Travis Job 7670.9
Source Files on build 7670
  • Tree
  • List 0
  • Changed 43
  • Source Changed 17
  • Coverage Changed 40
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #7670
  • cdcfb4f6 on github
  • Prev Build on develop (#7668)
  • Next Build on develop (#7672)
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