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

aiidateam / aiida-core / 6721
70%

Build:
DEFAULT BRANCH: develop
Ran 15 Jul 2019 04:42PM UTC
Jobs 4
Files 403
Run time 11min
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
6721

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.

23405 of 32455 relevant lines covered (72.12%)

2.74 hits per line

Jobs
ID Job ID Ran Files Coverage
5 6721.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 15 Jul 2019 04:42PM UTC 0
68.14
Travis Job 6721.5
6 6721.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 15 Jul 2019 04:48PM UTC 0
68.09
Travis Job 6721.6
7 6721.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 15 Jul 2019 04:52PM UTC 0
69.08
Travis Job 6721.7
8 6721.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 15 Jul 2019 04:52PM UTC 0
69.0
Travis Job 6721.8
Source Files on build 6721
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6721
  • facf47b2 on github
  • Prev Build on develop (#6718)
  • Next Build on develop (#6725)
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