Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

Run GGUF companion jobs only for GGUF frontend PR changes (#38912)

Maxim Vafin0906f01596de
diff --git a/.github/workflows/ubuntu_22.yml b/.github/workflows/ubuntu_22.yml
index 846c75f1d86..aca2694b735 100644
--- a/.github/workflows/ubuntu_22.yml
+++ b/.github/workflows/ubuntu_22.yml
@@ -542,7 +542,7 @@ jobs:
GGUF_GenAI_Validation:
name: GGUF Frontend x GenAI acceptance
- if: ${{ fromJSON(needs.smart_ci.outputs.affected_components).GGUF_FE.test }}
+ if: ${{ github.event_name == 'schedule' || (github.event_name == 'pull_request' && fromJSON(needs.smart_ci.outputs.changed_components).GGUF_FE) }}
needs: [ Docker, Build, Smart_CI ]
uses: ./.github/workflows/job_gguf_genai_validation.yml
with:
@@ -553,7 +553,7 @@ jobs:
GGUF_LlamaCpp_Validation:
name: GGUF Frontend x llama.cpp validation
- if: ${{ github.event_name != 'schedule' && fromJSON(needs.smart_ci.outputs.affected_components).GGUF_FE.test }}
+ if: ${{ github.event_name == 'pull_request' && fromJSON(needs.smart_ci.outputs.changed_components).GGUF_FE }}
needs: [ Docker, Build, Smart_CI ]
uses: ./.github/workflows/job_gguf_llamacpp_validation.yml
with: