diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index d8e739bdb..592b96da9 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -201,15 +201,28 @@ jobs: cmake --build ${{ steps.strings.outputs.build-output-dir }} -- check-ttmlir cp build/test/report.xml ${{ steps.strings.outputs.test_report_path }} + if [ -f "./build/test/unittests/OpModel/TTNN/Conversion/TestConversion" ]; then + echo "TestConversion exists." + else + echo "TestConversion does not exist." + fi + + export TT_METAL_HOME=$(pwd)/third_party/tt-metal/src/tt-metal + ./build/test/unittests/OpModel/TTNN/Conversion/TestConversion + ./build/test/unittests/OpModel/TTNN/Op/TestOpModelInterface + ./build/test/unittests/OpModel/TTNN/Lib/TestOpModelLib + - name: Run Op Model Tests shell: bash if: matrix.build.enable_op_model == 'ON' run: | source env/activate export TT_METAL_HOME=$(pwd)/third_party/tt-metal/src/tt-metal - echo $TT_METAL_HOME - ls build/ - ls build/test + if [ -f "./build/test/unittests/OpModel/TTNN/Conversion/TestConversion" ]; then + echo "TestConversion exists." + else + echo "TestConversion does not exist." + fi ./build/test/unittests/OpModel/TTNN/Conversion/TestConversion ./build/test/unittests/OpModel/TTNN/Op/TestOpModelInterface ./build/test/unittests/OpModel/TTNN/Lib/TestOpModelLib