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

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

Build:
DEFAULT BRANCH: develop
Ran 25 Oct 2019 08:49AM UTC
Files 406
Run time 28s
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

25 Oct 2019 08:25AM UTC coverage: 69.98% (+0.05%) from 69.933%
TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests"

push

travis-ci

web-flow
Add type checks to all plugin factories (#3456)

The various entry point factories, based on the base class
`aiida.plugins.factories.BaseFactory` would simply return the resource
that the given entry point corresponds to if it could be loaded. There
were no additional checks if the type of the loaded entry point
corresponds to what is expected for that particular entry point group.
It was possible, for example, to add `CalcJob` implementations and
calculation functions to the `aiida.workflows` entry point group, as well
as `WorkChain` and work functions to `aiida.calculations`. The respective
factories would load these entry points without complaining. However, to
keep consistency it is better to raise if an entry point is loaded from
the incorrect entry point group.

The functionality to check that all registered plugins can be loaded
through their respective factories has been abstracted to a utility in
`aiida.plugins.entry_point.validate_registered_entry_points`. It is also
exposed on the command line through `verdi devel validate-plugins`.

23020 of 32895 relevant lines covered (69.98%)

0.7 hits per line

Source Files on job 7367.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests")
  • Tree
  • List 0
  • Changed 8
  • Source Changed 7
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 556
  • Travis Job 7367.7
  • 3e707501 on github
  • Prev Job for TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests" on develop (#7351.7)
  • Next Job for TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests" on develop (#7371.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