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

aiidateam / aiida_core / 5793
74%

Build:
DEFAULT BRANCH: develop
Ran 12 Apr 2019 08:18PM UTC
Jobs 4
Files 392
Run time 9min
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
5793

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.

23376 of 33164 relevant lines covered (70.49%)

2.58 hits per line

Jobs
ID Job ID Ran Files Coverage
5 5793.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 12 Apr 2019 08:18PM UTC 0
64.61
Travis Job 5793.5
6 5793.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 12 Apr 2019 08:24PM UTC 0
64.52
Travis Job 5793.6
7 5793.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 12 Apr 2019 08:24PM UTC 0
64.27
Travis Job 5793.7
8 5793.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 12 Apr 2019 08:26PM UTC 0
64.19
Travis Job 5793.8
Source Files on build 5793
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5793
  • cc387451 on github
  • Prev Build on develop (#5785)
  • Next Build on develop (#5797)
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