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

aiidateam / aiida_core / 5903
74%
develop: 74%

Build:
Build:
LAST BUILD BRANCH: fix_3032_doc_working_importexport
DEFAULT BRANCH: develop
Ran 20 Apr 2019 03:30PM 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
5903

push

travis-ci

szoupanos
More progress on the JSONB migration. I need to add the data migration too. Now its just the schema

Changed Django models to support JSONB and adapted the DjangoNode (BackendNode). It needs testing

Making homogenous SqlaNode and DjangoNode. We need a serializer/deserialize that handles dates for Django

Handling correctly datetime in Django JSONB

All db.nodes tests that are not QB related work

QB works with aldjemy model and no dummy model. Needs a bit work on Computer.transport_params & Computer.metadata should turn to jsonb.
All tests of db.orm, db.query, db.nodes pass for Django JSONB.
Needs cleaning

Covering corner cases (metadata) for QB.
Cleaned the code. There is some code overlap between the QB Django and QB SQLA.
Maybe I should unify them.

More progress on import/export. Need to fix metadata for SQLA export. E.g. the computer.medatada is exported as computer._metadata

Modified QB to fallback to metadata when _metadata is given. The returned column for iter_dict is renamed to metadata too. The mechanism can be used for other renamings too. All import/export tests pass for both backends

Disabling migrations tests until I address the django migration problem halt. Disabling restapi tests until issue #2764 is fixed

Fixing Django migration tests. I had to reset the session before and after migrations to avoid deadlocks

More corrections

Fixing verdi data bands list. It now works with JSONB attributes

Converting dates to strings in import export. This solves the failing test test_calcjob_inoutputcat_old (aiida.backends.tests.cmdline.commands.test_calcjob.TestVerdiCalculation) which tries to import a CalcJobNode with a datetime object in its attributes. We should see in a separate commit what we do for the datetime objects in general.

Models seems ok

Reorganising the migration files

JSONB migrations work

More cleaning at the migration

Small corrections in jsonb migrations

22224 of 33081 relevant lines covered (67.18%)

2.46 hits per line

Jobs
ID Job ID Ran Files Coverage
5 5903.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 20 Apr 2019 03:31PM UTC 0
61.32
Travis Job 5903.5
6 5903.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 20 Apr 2019 03:36PM UTC 0
61.26
Travis Job 5903.6
7 5903.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 20 Apr 2019 03:37PM UTC 0
61.7
Travis Job 5903.7
8 5903.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 20 Apr 2019 03:40PM UTC 0
61.62
Travis Job 5903.8
Source Files on build 5903
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5903
  • f67629f8 on github
  • Next Build on django_jsonb (#5904)
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