Skip to content

fix linting issues #7382

fix linting issues

fix linting issues #7382

Triggered via push October 31, 2024 16:55
Status Failure
Total duration 27m 0s
Artifacts

test-build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 19 warnings
pytest ► osf_tests.management_commands.test_migrate_preprint_affiliations.TestAssignCreatorAffiliationsToPreprints ► test_assign_affiliations_with_affiliated_creator[True]: report.xml#L0
Failed test found in: report.xml Error: osf_tests/management_commands/test_migrate_preprint_affiliations.py:16: in user_with_affiliation
pytest ► osf_tests.management_commands.test_migrate_preprint_affiliations.TestAssignCreatorAffiliationsToPreprints ► test_assign_affiliations_with_affiliated_creator[False]: report.xml#L0
Failed test found in: report.xml Error: osf_tests/management_commands/test_migrate_preprint_affiliations.py:16: in user_with_affiliation
pytest ► osf_tests.management_commands.test_migrate_preprint_affiliations.TestAssignCreatorAffiliationsToPreprints ► test_no_affiliations_for_non_affiliated_creator[True]: report.xml#L0
Failed test found in: report.xml Error: osf_tests/management_commands/test_migrate_preprint_affiliations.py:45: in test_no_affiliations_for_non_affiliated_creator
pytest ► osf_tests.management_commands.test_migrate_preprint_affiliations.TestAssignCreatorAffiliationsToPreprints ► test_no_affiliations_for_non_affiliated_creator[False]: report.xml#L0
Failed test found in: report.xml Error: osf_tests/management_commands/test_migrate_preprint_affiliations.py:45: in test_no_affiliations_for_non_affiliated_creator
pytest ► osf_tests.management_commands.test_migrate_preprint_affiliations.TestAssignCreatorAffiliationsToPreprints ► test_exclude_creator_by_guid[True]: report.xml#L0
Failed test found in: report.xml Error: osf_tests/management_commands/test_migrate_preprint_affiliations.py:16: in user_with_affiliation
pytest ► osf_tests.management_commands.test_migrate_preprint_affiliations.TestAssignCreatorAffiliationsToPreprints ► test_exclude_creator_by_guid[False]: report.xml#L0
Failed test found in: report.xml Error: osf_tests/management_commands/test_migrate_preprint_affiliations.py:16: in user_with_affiliation
api3_and_osf
Failed test were found and 'fail-on-error' option is set to true
api3_and_osf
Process completed with exit code 1.
build-cache
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
build-cache
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build-cache
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
api1_and_js
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
api2
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
addons
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
api3_and_osf
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
website
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
addons
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
addons
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
website
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
website
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
api2
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
api2
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
api1_and_js
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
api1_and_js
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
api3_and_osf
Test report summary exceeded limit of 65535 bytes and will be trimmed
api3_and_osf
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
api3_and_osf
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/