diff --git a/.github/workflows/reusable-build-test-config.yml b/.github/workflows/reusable-build-test-config.yml index 1d68be7503..d6bacce03e 100644 --- a/.github/workflows/reusable-build-test-config.yml +++ b/.github/workflows/reusable-build-test-config.yml @@ -161,9 +161,13 @@ jobs: - name: Run the separate tests if: ${{ !inputs.build_only }} working-directory: ${{ inputs.build_dir }} + env: + BUILD_TYPE: ${{ inputs.build_type }} shell: bash run: | - ctest --output-on-failure + ctest \ + --output-on-failure \ + -C "${BUILD_TYPE}" - name: Prepare coverage report if: ${{ !inputs.build_only && env.ENABLED_COVERAGE == 'true' }}