From 9f9eba656aa6ef8499fbe22d89575cf39c3cd5ce Mon Sep 17 00:00:00 2001 From: Mateusz Chrominski Date: Mon, 15 Dec 2025 13:23:21 +0100 Subject: [PATCH] fix: CI Update. Signed-off-by: Mateusz Chrominski --- .github/dependabot.yml | 2 +- .github/workflows/check_code_standard.yml | 4 +--- .github/workflows/check_pr_format.yml | 2 +- .github/workflows/dependency_review.yml | 2 +- .github/workflows/main.yml | 2 +- .github/workflows/manual_release.yml | 2 +- .github/workflows/pull_request.yml | 20 ++++++++++++++++ .github/workflows/pull_requests.yml | 29 ----------------------- .github/workflows/run_tests.yml | 10 +++----- 9 files changed, 29 insertions(+), 44 deletions(-) create mode 100644 .github/workflows/pull_request.yml delete mode 100644 .github/workflows/pull_requests.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b38df29..f174799 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,4 +3,4 @@ updates: - package-ecosystem: "pip" directory: "/" schedule: - interval: "daily" + interval: "daily" \ No newline at end of file diff --git a/.github/workflows/check_code_standard.yml b/.github/workflows/check_code_standard.yml index 4c32665..1b4d776 100644 --- a/.github/workflows/check_code_standard.yml +++ b/.github/workflows/check_code_standard.yml @@ -11,9 +11,7 @@ jobs: matrix: python_version: ['3.10', '3.13'] uses: intel/mfd/.github/workflows/check_code_standard.yml@main - secrets: - GH_TOKEN: ${{ secrets.GH_TOKEN }} with: REPOSITORY_NAME: ${{ github.event.pull_request.head.repo.full_name }} BRANCH_NAME: ${{ github.head_ref }} - PYTHON_VERSION: ${{ matrix.python_version }} + PYTHON_VERSION: ${{ matrix.python_version }} \ No newline at end of file diff --git a/.github/workflows/check_pr_format.yml b/.github/workflows/check_pr_format.yml index ed32e34..83cd286 100644 --- a/.github/workflows/check_pr_format.yml +++ b/.github/workflows/check_pr_format.yml @@ -9,4 +9,4 @@ jobs: uses: intel/mfd/.github/workflows/check_pr_format.yml@main with: REPOSITORY_NAME: ${{ github.event.pull_request.head.repo.full_name }} - BRANCH_NAME: ${{ github.head_ref }} + BRANCH_NAME: ${{ github.head_ref }} \ No newline at end of file diff --git a/.github/workflows/dependency_review.yml b/.github/workflows/dependency_review.yml index ea04095..879f17c 100644 --- a/.github/workflows/dependency_review.yml +++ b/.github/workflows/dependency_review.yml @@ -6,4 +6,4 @@ on: jobs: dependency_review: - uses: intel/mfd/.github/workflows/dependency_review.yml@main + uses: intel/mfd/.github/workflows/dependency_review.yml@main \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bfdf516..199c847 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,4 +18,4 @@ jobs: REPOSITORY_NAME: ${{ github.repository }} BRANCH_NAME: ${{ github.ref_name }} PYTHON_VERSION: ${{ matrix.python_version }} - PROJECT_NAME: 'mfd-hyperv' + PROJECT_NAME: 'mfd-hyperv' \ No newline at end of file diff --git a/.github/workflows/manual_release.yml b/.github/workflows/manual_release.yml index 9311b5c..48dcfbc 100644 --- a/.github/workflows/manual_release.yml +++ b/.github/workflows/manual_release.yml @@ -22,4 +22,4 @@ jobs: BRANCH_NAME: ${{ github.ref_name }} PYTHON_VERSION: ${{ matrix.python_version }} PROJECT_NAME: 'mfd-hyperv' - RELEASE_STEPS: ${{ matrix.release_steps }} + RELEASE_STEPS: ${{ matrix.release_steps }} \ No newline at end of file diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml new file mode 100644 index 0000000..d7268c2 --- /dev/null +++ b/.github/workflows/pull_request.yml @@ -0,0 +1,20 @@ +name: Dev Build + +on: + pull_request: + types: [opened, synchronize] + +jobs: + build_whl: + strategy: + fail-fast: false + matrix: + python_version: ['3.10', '3.13'] + uses: intel/mfd/.github/workflows/pull_request.yml@main + secrets: + GH_TOKEN: ${{ secrets.GH_TOKEN }} + with: + REPOSITORY_NAME: ${{ github.event.pull_request.head.repo.full_name }} + BRANCH_NAME: ${{ github.head_ref }} + PYTHON_VERSION: ${{ matrix.python_version }} + PROJECT_NAME: 'mfd-hyperv' \ No newline at end of file diff --git a/.github/workflows/pull_requests.yml b/.github/workflows/pull_requests.yml deleted file mode 100644 index fa83091..0000000 --- a/.github/workflows/pull_requests.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: DEV BUILD - -on: - pull_request: - types: [opened, synchronize] - -jobs: - build_upload_whl: - strategy: - matrix: - include: - - name: python-version-3-10 - python_version: '3.10' - push_tag: false - - name: python-version-3-13 - python_version: '3.13' - push_tag: false - uses: ./.github/workflows/build_upload_whl.yml - secrets: - GH_TOKEN: ${{ secrets.GH_TOKEN }} - with: - REPOSITORY_NAME: ${{ github.repository }} - BRANCH_NAME: ${{ github.head_ref }} - PYTHON_VERSION: ${{ matrix.python_version }} - PUSH_TAG: ${{ matrix.push_tag }} - RELEASE_BUILD: false - GIT_USER: 'mfd-intel-bot' - GIT_EMAIL: 'mfd_intel_bot@intel.com' - PROJECT_NAME: 'mfd-hyperv' \ No newline at end of file diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index d4e13bc..0dafd32 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -14,12 +14,8 @@ jobs: matrix: os: [ubuntu-latest, windows-latest] python_version: ['3.10', '3.13'] - uses: intel/mfd/.github/workflows/run_tests.yml@main - secrets: - GH_TOKEN: ${{ secrets.GH_TOKEN }} - with: - REPOSITORY_NAME: ${{ github.event.pull_request.head.repo.full_name }} - BRANCH_NAME: ${{ github.head_ref }} + uses: intel/mfd/.github/workflows/run_tests.yml@main + with: PYTHON_VERSION: ${{ matrix.python_version }} RUNS_ON: ${{ matrix.os }} - PROJECT_NAME: 'mfd-hyperv' + PROJECT_NAME: 'mfd-hyperv' \ No newline at end of file