From cafcdf09dff48bb9a5a45d0f6ba8855d2435e9c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20Dom=C3=ADnguez=20L=C3=B3pez?= <116071334+Mario-DL@users.noreply.github.com> Date: Wed, 18 Sep 2024 08:06:28 +0200 Subject: [PATCH] Run generation of types with -python in ci (#399) Signed-off-by: Mario Dominguez (cherry picked from commit e605e070da3c4d9ec46b8741c85df4361b39bda8) # Conflicts: # .github/workflows/reusable-ubuntu-ci.yml --- .github/workflows/reusable-ubuntu-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/reusable-ubuntu-ci.yml b/.github/workflows/reusable-ubuntu-ci.yml index 480c2a09..32895595 100644 --- a/.github/workflows/reusable-ubuntu-ci.yml +++ b/.github/workflows/reusable-ubuntu-ci.yml @@ -214,3 +214,10 @@ jobs: source ${{ github.workspace }}/install/local_setup.bash cd ${{ github.workspace }}/src/fastddsgen ./gradlew test ${{ env.cdr-test-flag }} + + - name: Test fastddsgen with python arg + if: ${{ inputs.run-tests == true }} + run: | + source ${{ github.workspace }}/install/local_setup.bash + cd ${{ github.workspace }}/src/fastddsgen/thirdparty/dds-types-test/IDL + find . -path "*.idl*" -exec fastddsgen -python {} +