From 19bb714732703dffbfc0a4d7b93870ea2ed8442f 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) --- .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 f34a7feb..b6e55e01 100644 --- a/.github/workflows/reusable-ubuntu-ci.yml +++ b/.github/workflows/reusable-ubuntu-ci.yml @@ -216,3 +216,10 @@ jobs: source ${{ github.workspace }}/install/local_setup.bash cd ${{ github.workspace }}/src/fastddsgen ./gradlew test + + - 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 {} +