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

aiidateam / aiida-core / 6721 / 7
70%
develop: 70%

Build:
DEFAULT BRANCH: develop
Ran 15 Jul 2019 04:52PM UTC
Files 403
Run time 36s
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

15 Jul 2019 04:29PM UTC coverage: 69.079% (-0.7%) from 69.73%
TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests"

push

travis-ci

web-flow
Move responsibility of loading profile to `ProfileParamType` (#3138)

Currently, the loading of the profile is done in the body of the `verdi`
command group itself. By moving this to the `ProfileParamType`, it
becomes easy for external scripts to also provide a `--profile` flag to
run the script for a profile other than the default.

In addition, prevent loading the ORM backend through the configuration.
The `load_profile` method was calling `configure_logging` with the
option `with_orm=True` in order to make sure that the `DbLogHandler` was
properly configured for the new profile. However, `load_profile` should
not load the backend. This should be done lazily by the `Manager`. Since
now the profile is loaded by default when calling `verdi`, the backend
was always being loaded, even if not necessary, causing `verdi` and
therewith the tab-completion to grind to a halt.

22421 of 32457 relevant lines covered (69.08%)

0.69 hits per line

Source Files on job 6721.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests")
  • Tree
  • List 0
  • Changed 17
  • Source Changed 8
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 32
  • Travis Job 6721.7
  • facf47b2 on github
  • Prev Job for TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests" on develop (#6718.7)
  • Next Job for TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests" on develop (#6725.7)
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