feat(rdm.migration): Configurable auto-adding secondary community#544
Open
sakshamarora1 wants to merge 1 commit into
Open
Annotations
8 errors and 11 warnings
|
Run tests
Process completed with exit code 1.
|
|
Run tests:
tests/cds-rdm/test_thesis_migration.py#L50
test_full_thesis_stream
assert 0 == 3
+ where 0 = count()
+ where count = <flask_sqlalchemy.query.Query object at 0x7f425fc15610>.count
+ where <flask_sqlalchemy.query.Query object at 0x7f425fc15610> = CDSMigrationLegacyRecord.query
|
|
Run tests:
tests/cds-rdm/test_scientific_community.py#L0
Black format check
--- /home/runner/work/cds-migrator-kit/cds-migrator-kit/tests/cds-rdm/test_scientific_community.py 2026-07-02 13:53:05.457659+00:00
+++ /home/runner/work/cds-migrator-kit/cds-migrator-kit/tests/cds-rdm/test_scientific_community.py 2026-07-02 13:56:52.151304+00:00
@@ -10,11 +10,13 @@
from unittest.mock import MagicMock
import pytest
from cds_migrator_kit.errors import MissingConfiguration
-from cds_migrator_kit.rdm.records.transform.config import CDS_CERN_SCIENTIFIC_RESOURCE_TYPES
+from cds_migrator_kit.rdm.records.transform.config import (
+ CDS_CERN_SCIENTIFIC_RESOURCE_TYPES,
+)
from cds_migrator_kit.rdm.records.transform.transform import CDSToRDMRecordTransform
def _test_record(
access="public",
|
|
Run tests:
tests/cds-rdm/test_scientific_community.py#L0
isort-check
import pytest
from cds_migrator_kit.errors import MissingConfiguration
-from cds_migrator_kit.rdm.records.transform.config import CDS_CERN_SCIENTIFIC_RESOURCE_TYPES
+from cds_migrator_kit.rdm.records.transform.config import (
+ CDS_CERN_SCIENTIFIC_RESOURCE_TYPES,
+)
from cds_migrator_kit.rdm.records.transform.transform import CDSToRDMRecordTransform
|
|
Run tests:
tests/cds-rdm/test_hr_migration.py#L71
test_full_hr_stream
assert 0 == 2
+ where 0 = count()
+ where count = <flask_sqlalchemy.query.Query object at 0x7f425fcc0cd0>.count
+ where <flask_sqlalchemy.query.Query object at 0x7f425fcc0cd0> = CDSMigrationLegacyRecord.query
|
|
Run tests:
tests/cds-rdm/test_bulletin_issue.py#L69
test_bulletin_issue
assert 0 == 1
+ where 0 = count()
+ where count = <flask_sqlalchemy.query.Query object at 0x7f4262002100>.count
+ where <flask_sqlalchemy.query.Query object at 0x7f4262002100> = CDSMigrationLegacyRecord.query
|
|
Run tests:
tests/cds-rdm/test_access_permissions.py#L141
test_collection_with_access_grants_view_configuration
assert 0 == 1
+ where 0 = <invenio_rdm_records.services.results.RDMRecordList object at 0x7f4262782f10>.total
|
|
Run tests:
tests/cds-rdm/test_access_permissions.py#L84
test_access_permissions
assert 0 == 3
+ where 0 = count()
+ where count = <flask_sqlalchemy.query.Query object at 0x7f426292cc10>.count
+ where <flask_sqlalchemy.query.Query object at 0x7f426292cc10> = CDSMigrationLegacyRecord.query
|
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-python@v5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run tests:
/opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/edtf/parser/grammar.py#L60
'oneOf' deprecated - use 'one_of'
|
|
Run tests:
/opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/edtf/parser/grammar.py#L59
'oneOf' deprecated - use 'one_of'
|
|
Run tests:
/opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/edtf/parser/grammar.py#L58
'oneOf' deprecated - use 'one_of'
|
|
Run tests:
/opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/edtf/parser/grammar.py#L57
'oneOf' deprecated - use 'one_of'
|
|
Run tests:
/opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/edtf/parser/grammar.py#L56
'oneOf' deprecated - use 'one_of'
|
|
Run tests:
/opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/edtf/parser/grammar.py#L55
'oneOf' deprecated - use 'one_of'
|
|
Run tests:
/opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/edtf/parser/grammar.py#L54
'oneOf' deprecated - use 'one_of'
|
|
Run tests:
/opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/edtf/parser/grammar.py#L53
'oneOf' deprecated - use 'one_of'
|
|
Run tests:
/opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/edtf/parser/grammar.py#L52
'oneOf' deprecated - use 'one_of'
|
|
Run tests:
/opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/edtf/parser/grammar.py#L9
'enablePackrat' deprecated - use 'enable_packrat'
|
background
wait
wait-all
cancel
parallel
Loading