Skip to content

tests/client: fix pytest mark skipif syntax #1043

tests/client: fix pytest mark skipif syntax

tests/client: fix pytest mark skipif syntax #1043

Triggered via pull request March 29, 2024 21:40
@xrmxxrmx
opened #2019
Status Success
Total duration 12s
Artifacts

labeler.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
pytest ► tests.client.client_tests ► test_custom_transport_json_serializer[elasticapm_client0]: tests/docker-python-3.12-none-python-agent-junit.xml#L0
Failed test found in: tests/docker-python-3.12-none-python-agent-junit.xml Error: Error evaluating 'skipif': you need to specify reason=STRING when using booleans as conditions.
pytest ► tests.client.client_tests ► test_custom_transport_json_serializer[elasticapm_client0]: tests/docker-python-3.6-none-python-agent-junit.xml#L0
Failed test found in: tests/docker-python-3.6-none-python-agent-junit.xml Error: Error evaluating 'skipif': you need to specify reason=STRING when using booleans as conditions.
pytest ► tests.client.client_tests ► test_custom_transport_json_serializer[elasticapm_client0]: tests/windows-3.8-none-true-python-agent-junit.xml#L0
Failed test found in: tests/windows-3.8-none-true-python-agent-junit.xml Error: Error evaluating 'skipif': you need to specify reason=STRING when using booleans as conditions.
pytest ► tests.client.client_tests ► test_custom_transport_json_serializer[elasticapm_client0]: tests/windows-3.9-none-true-python-agent-junit.xml#L0
Failed test found in: tests/windows-3.9-none-true-python-agent-junit.xml Error: Error evaluating 'skipif': you need to specify reason=STRING when using booleans as conditions.
triage
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-ecosystem/action-add-labels@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
triage
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-ecosystem/action-add-labels@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/