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

aiidateam / aiida_core / 5793 / 8
74%
develop: 74%

Build:
DEFAULT BRANCH: develop
Ran 12 Apr 2019 08:26PM UTC
Files 392
Run time 20s
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

12 Apr 2019 08:03PM UTC coverage: 64.187% (-0.1%) from 64.328%
TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests"

push

travis-ci

web-flow
Reinstate the test submit functionality for `CalcJob` (#2743)

The old `JobCalculation` had a method `submit_test` which would perform
a test submission, by mocking the remote working directory that would be
created in a real submission in a local sandbox folder. This method was
removed because the replacement class `CalcJobNode` no longer provided
methods to actually run anything. Instead this is now the responsability
of the `CalcJob` process class.

To provide similar functionality a new metadata input `dry_run` is
introduced for the `CalcJob` class. When passed in the inputs when the
process is ran, the same procedure as a normal submission is started but
the `upload_calculation` step will the local transport instead of the
targeted remote computer and will write the files to a local sandbox
folder instead of a remote working directory. After the upload task is
completed, the process is stopped instead of going to the submission
step.

This new approach has the advantage over the old implementation that the
pathway that is followed in the test submission is alsmost identical to
the code that would be executed in an actual submission. Additionally,
by using a metadata option, instead of a special launcher function or a
specific method on the `ProcessBuilder` ensures that the user does not
have to import and call a separate function, nor does the method on the
builder have to block a name in the input namespace.

21287 of 33164 relevant lines covered (64.19%)

0.64 hits per line

Source Files on job 5793.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests")
  • Tree
  • List 0
  • Changed 23
  • Source Changed 6
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1521
  • Travis Job 5793.8
  • cc387451 on github
  • Prev Job for TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests" on develop (#5785.7)
  • Next Job for TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests" on develop (#5797.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