Skip to content

legacy: Add redirection for collections #319

legacy: Add redirection for collections

legacy: Add redirection for collections #319

Triggered via pull request November 22, 2024 15:54
Status Failure
Total duration 5m 50s
Artifacts

tests.yml

on: pull_request
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
Tests (site, 3.9, postgresql14, opensearch2, redis, rabbitmq, 18): site/tests/conftest.py#L1
isort-check from collections import namedtuple import pytest -from cds_rdm.permissions import ( - CDSCommunitiesPermissionPolicy, - CDSRDMRecordPermissionPolicy, -) -from cds_rdm.schemes import is_cern from flask_webpackext.manifest import ( JinjaManifest, JinjaManifestEntry, from invenio_vocabularies.proxies import current_service as vocabulary_service from invenio_vocabularies.records.api import Vocabulary +from cds_rdm.permissions import ( + CDSCommunitiesPermissionPolicy, + CDSRDMRecordPermissionPolicy, +) +from cds_rdm.schemes import is_cern + class MockJinjaManifest(JinjaManifest): """Mock manifest."""
Tests (site, 3.9, postgresql14, opensearch2, redis, rabbitmq, 18): site/tests/test_tasks.py#L1
isort-check from datetime import datetime, timedelta import pytest -from cds_rdm.tasks import merge_duplicate_names_vocabulary, sync_local_accounts_to_names from invenio_access.permissions import system_identity from invenio_accounts import testutils from invenio_records_resources.proxies import current_service_registry from invenio_search.engine import dsl from invenio_vocabularies.contrib.names.api import Name + +from cds_rdm.tasks import merge_duplicate_names_vocabulary, sync_local_accounts_to_names @pytest.fixture(scope="function")
Tests (site, 3.9, postgresql14, opensearch2, redis, rabbitmq, 18): site/tests/legacy/test_redirector.py#L181
test_legacy_collection_redirection invenio_records_resources.services.errors.RecordPermissionDeniedError
Tests (site, 3.9, postgresql14, opensearch2, redis, rabbitmq, 18)
Process completed with exit code 1.
Tests (site, 3.12, postgresql14, opensearch2, redis, rabbitmq, 18)
The job was canceled because "site_3_9_postgresql14_ope" failed.
Tests (site, 3.12, postgresql14, opensearch2, redis, rabbitmq, 18)
The operation was canceled.
Tests (site, 3.9, postgresql14, opensearch2, redis, rabbitmq, 18)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/