Skip to content

Move compliance checks to SDK #474

Move compliance checks to SDK

Move compliance checks to SDK #474

Triggered via pull request August 5, 2024 10:47
Status Failure
Total duration 2m 7s
Artifacts 2

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 4 warnings, and 2 notices
Ruff (I001): sekoia_automation/cli.py#L1
sekoia_automation/cli.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (F401): sekoia_automation/cli.py#L3
sekoia_automation/cli.py:3:30: F401 `typing.Annotated` imported but unused
Ruff (E501): sekoia_automation/scripts/check_compliance.py#L44
sekoia_automation/scripts/check_compliance.py:44:89: E501 Line too long (91 > 88)
Ruff (E501): sekoia_automation/scripts/check_compliance.py#L70
sekoia_automation/scripts/check_compliance.py:70:89: E501 Line too long (96 > 88)
Ruff (E501): sekoia_automation/scripts/check_compliance.py#L80
sekoia_automation/scripts/check_compliance.py:80:89: E501 Line too long (96 > 88)
Ruff (UP031): sekoia_automation/scripts/check_compliance.py#L104
sekoia_automation/scripts/check_compliance.py:104:13: UP031 Use format specifiers instead of percent format
Ruff (UP015): sekoia_automation/scripts/check_compliance.py#L124
sekoia_automation/scripts/check_compliance.py:124:14: UP015 Unnecessary open mode parameters
Ruff (UP015): sekoia_automation/scripts/check_compliance.py#L129
sekoia_automation/scripts/check_compliance.py:129:14: UP015 Unnecessary open mode parameters, use ""w""
Ruff (E501): sekoia_automation/scripts/check_compliance.py#L138
sekoia_automation/scripts/check_compliance.py:138:89: E501 Line too long (100 > 88)
Ruff (E501): sekoia_automation/scripts/check_compliance.py#L173
sekoia_automation/scripts/check_compliance.py:173:89: E501 Line too long (89 > 88)
Test
Process completed with exit code 1.
EventFile
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "Event File", "Unit Test Results". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
Test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
1 skipped test found
There is 1 skipped test, see "Raw output" for the name of the skipped test.
167 tests found
There are 167 tests, see "Raw output" for the full list of tests.

Artifacts

Produced during runtime
Name Size
Event File Expired
29.2 KB
Unit Test Results Expired
16.4 KB