From ea77bcb19825e6c51fd6ea6a1fda2f702c800486 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Segura=20Lucas?= Date: Tue, 28 Apr 2026 12:39:44 +0200 Subject: [PATCH] Enabling sync for pytests workflow callers --- .github/sync.yml | 18 ++++++++++++++++++ workflows_examples/pytests.yaml | 7 +++++-- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/.github/sync.yml b/.github/sync.yml index 6d4a5e1..a984229 100644 --- a/.github/sync.yml +++ b/.github/sync.yml @@ -21,6 +21,8 @@ RedHatInsights/ccx-upgrades-data-eng: dest: .github/workflows/linters.yaml - source: workflows_examples/bots-auto-merge.yaml dest: .github/workflows/bots-auto-merge.yaml + - source: workflows_examples/pytests.yaml + dest: .github/workflows/pytests.yaml RedHatInsights/ccx-upgrades-inference: - CODEOWNERS @@ -29,6 +31,8 @@ RedHatInsights/ccx-upgrades-inference: dest: .github/workflows/linters.yaml - source: workflows_examples/bots-auto-merge.yaml dest: .github/workflows/bots-auto-merge.yaml + - source: workflows_examples/pytests.yaml + dest: .github/workflows/pytests.yaml RedHatInsights/content-service: - CODEOWNERS @@ -53,6 +57,8 @@ RedHatInsights/insights-ccx-messaging: dest: .github/workflows/linters.yaml - source: workflows_examples/bots-auto-merge.yaml dest: .github/workflows/bots-auto-merge.yaml + - source: workflows_examples/pytests.yaml + dest: .github/workflows/pytests.yaml RedHatInsights/insights-content-template-renderer: - CODEOWNERS @@ -61,6 +67,8 @@ RedHatInsights/insights-content-template-renderer: dest: .github/workflows/linters.yaml - source: workflows_examples/bots-auto-merge.yaml dest: .github/workflows/bots-auto-merge.yaml + - source: workflows_examples/pytests.yaml + dest: .github/workflows/pytests.yaml RedHatInsights/insights-core-messaging: - CODEOWNERS @@ -69,6 +77,8 @@ RedHatInsights/insights-core-messaging: dest: .github/workflows/linters.yaml - source: workflows_examples/bots-auto-merge.yaml dest: .github/workflows/bots-auto-merge.yaml + - source: workflows_examples/pytests.yaml + dest: .github/workflows/pytests.yaml # RedHatInsights/insights-data-schemas: # - CODEOWNERS @@ -80,6 +90,8 @@ RedHatInsights/insights-on-prem: dest: .github/workflows/linters.yaml - source: workflows_examples/bots-auto-merge.yaml dest: .github/workflows/bots-auto-merge.yaml + - source: workflows_examples/pytests.yaml + dest: .github/workflows/pytests.yaml RedHatInsights/insights-operator-gathering-conditions: - CODEOWNERS @@ -88,6 +100,8 @@ RedHatInsights/insights-operator-gathering-conditions: dest: .github/workflows/linters.yaml - source: workflows_examples/bots-auto-merge.yaml dest: .github/workflows/bots-auto-merge.yaml + - source: workflows_examples/pytests.yaml + dest: .github/workflows/pytests.yaml RedHatInsights/insights-operator-gathering-conditions-service: - CODEOWNERS @@ -147,6 +161,8 @@ RedHatInsights/insights-results-aggregator-utils: dest: .github/workflows/linters.yaml - source: workflows_examples/bots-auto-merge.yaml dest: .github/workflows/bots-auto-merge.yaml + - source: workflows_examples/pytests.yaml + dest: .github/workflows/pytests.yaml # RedHatInsights/insights-results-mcp: # - CODEOWNERS @@ -180,3 +196,5 @@ RedHatInsights/insights-behavioral-spec: dest: .github/workflows/linters.yaml - source: workflows_examples/bots-auto-merge.yaml dest: .github/workflows/bots-auto-merge.yaml + - source: workflows_examples/pytests.yaml + dest: .github/workflows/pytests.yaml diff --git a/workflows_examples/pytests.yaml b/workflows_examples/pytests.yaml index 13b01f4..47a04ea 100644 --- a/workflows_examples/pytests.yaml +++ b/workflows_examples/pytests.yaml @@ -1,4 +1,4 @@ -name: Python Unit tests +name: Python unit tests on: pull_request: @@ -13,6 +13,9 @@ jobs: - "3.11" - "3.12" - uses: RedHatInsights/processing-tools/.github/workflows/pytests.yaml@master + uses: RedHatInsights/processing-tools/.github/workflows/pytests.yaml@v0.4.1 + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: python_version: ${{ matrix.python-version }} + cov_branch: true