Skip to content

awards: fix description field and mappings #1661

awards: fix description field and mappings

awards: fix description field and mappings #1661

Triggered via pull request November 23, 2024 20:43
Status Failure
Total duration 7m 39s
Artifacts

tests.yml

on: pull_request
Matrix: JS / Tests
Matrix: Python / Tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Python / Tests (3.9, postgresql14, opensearch2): invenio_vocabularies/contrib/awards/datastreams.py#L1
Black format check --- /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/awards/datastreams.py 2024-11-23 20:44:28.191251+00:00 +++ /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/awards/datastreams.py 2024-11-23 20:49:36.461226+00:00 @@ -120,13 +120,11 @@ if "startDate" in record: award["start_date"] = record["startDate"] if "endDate" in record: award["end_date"] = record["endDate"] if "summary" in record: - award["description"] = { - "en": record["summary"] - } + award["description"] = {"en": record["summary"]} stream_entry.entry = award return stream_entry
Python / Tests (3.9, postgresql14, opensearch2)
Process completed with exit code 1.
Python / Tests (3.12, postgresql14, opensearch2): invenio_vocabularies/contrib/awards/datastreams.py#L1
Black format check --- /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/awards/datastreams.py 2024-11-23 20:44:28.287844+00:00 +++ /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/awards/datastreams.py 2024-11-23 20:50:12.954402+00:00 @@ -120,13 +120,11 @@ if "startDate" in record: award["start_date"] = record["startDate"] if "endDate" in record: award["end_date"] = record["endDate"] if "summary" in record: - award["description"] = { - "en": record["summary"] - } + award["description"] = {"en": record["summary"]} stream_entry.entry = award return stream_entry
Python / Tests (3.12, postgresql14, opensearch2)
Process completed with exit code 1.