diff --git a/.github/actions/project_dependencies/action.yml b/.github/actions/project_dependencies/action.yml index 4a4051d71..994ee08b2 100644 --- a/.github/actions/project_dependencies/action.yml +++ b/.github/actions/project_dependencies/action.yml @@ -45,6 +45,11 @@ runs: with: cmake_build_type: ${{ inputs.cmake_build_type }} + - name: Install jsonschema + uses: eProsima/eProsima-CI/multiplatform/install_python_packages@v0 + with: + packages: jsonschema + - name: Install yaml cpp dependency uses: eProsima/eProsima-CI/multiplatform/install_yamlcpp@v0 with: diff --git a/.github/workflows/reusable-workflow.yml b/.github/workflows/reusable-workflow.yml index 6444314ca..d0ad33a2a 100644 --- a/.github/workflows/reusable-workflow.yml +++ b/.github/workflows/reusable-workflow.yml @@ -60,7 +60,7 @@ on: type: string env: - code_packages_names: 'ddsrouter_core ddsrouter_yaml ddsrouter_tool' + code_packages_names: 'ddsrouter_core ddsrouter_yaml ddsrouter_tool ddsrouter_yaml_validator' docs_packages_names: 'ddsrouter_docs' jobs: diff --git a/tools/ddsrouter_yaml_validator/setup.py b/tools/ddsrouter_yaml_validator/setup.py index 30a938c32..9fc8377a6 100644 --- a/tools/ddsrouter_yaml_validator/setup.py +++ b/tools/ddsrouter_yaml_validator/setup.py @@ -21,8 +21,11 @@ maintainer_email='juanlopez@eprosima.com', description='Tool used for validating DDS-Router configuration files', license='Apache License, Version 2.0', - tests_require=['pytest'], - test_suite='tests', + extras_require={ + 'test': [ + 'pytest', # Add your testing dependencies here + ], + }, entry_points={ 'console_scripts': [ 'ddsrouter_yaml_validator = ddsrouter_yaml_validator.ddsrouter_yaml_validator:main',