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

aiidateam / aiida-core / 7367
70%

Build:
DEFAULT BRANCH: develop
Ran 25 Oct 2019 08:39AM UTC
Jobs 4
Files 1218
Run time 13min
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
7367

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`.

70230 of 98681 relevant lines covered (71.17%)

2.78 hits per line

Jobs
ID Job ID Ran Files Coverage
5 7367.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 25 Oct 2019 08:39AM UTC 0
69.14
Travis Job 7367.5
6 7367.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 25 Oct 2019 08:46AM UTC 0
69.05
Travis Job 7367.6
7 7367.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 25 Oct 2019 08:49AM UTC 0
69.98
Travis Job 7367.7
8 7367.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 25 Oct 2019 08:51AM UTC 0
69.9
Travis Job 7367.8
Source Files on build 7367
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7367
  • 3e707501 on github
  • Prev Build on develop (#7351)
  • Next Build on develop (#7371)
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