Skip to content

tests/unit_tests: add platform_filter to node related tests #2147

tests/unit_tests: add platform_filter to node related tests

tests/unit_tests: add platform_filter to node related tests #2147

Triggered via pull request October 17, 2024 07:03
Status Failure
Total duration 3m 5s
Artifacts

main.yml

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

Annotations

4 errors and 12 warnings
check (3.11)
Process completed with exit code 6.
check (3.10)
The job was canceled because "_3_11" failed.
check (3.10)
The operation was canceled.
Lint: tests/unit_tests/test_node_handler.py#L16
Unable to import 'kernelci.api.models'
check (3.11)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
check (3.11)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint: tests/unit_tests/test_node_handler.py#L16
third party import "from kernelci.api.models import Node, Revision" should be placed before "from tests.unit_tests.conftest import BEARER_TOKEN"
Lint: tests/unit_tests/test_node_handler.py#L30
line too long (84 > 79 characters)
Lint: tests/unit_tests/test_node_handler.py#L43
unexpected spaces around keyword / parameter equals
Lint: tests/unit_tests/test_node_handler.py#L110
line too long (92 > 79 characters)
Lint: tests/unit_tests/test_node_handler.py#L129
line too long (92 > 79 characters)
Lint: tests/unit_tests/test_node_handler.py#L206
line too long (81 > 79 characters)
Lint: tests/unit_tests/test_node_handler.py#L217
unexpected spaces around keyword / parameter equals
Lint: tests/unit_tests/test_node_handler.py#L217
unexpected spaces around keyword / parameter equals
Lint: tests/unit_tests/test_node_handler.py#L287
line too long (92 > 79 characters)
Lint: tests/unit_tests/test_node_handler.py#L309
line too long (92 > 79 characters)