From 4d7165c63e2acefd03964595dd4bd614c8d10575 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Sun, 8 Nov 2026 19:00:07 +0100 Subject: [PATCH] Run the oneMath develop branch tests nightly The `test_by_branch` job builds dpnp against the head of oneMath `develop`, so its failures come from upstream, not from the PR under test, while its two jobs (39-68 min each) add ~105 min of runner time to every push. It now runs on a nightly schedule and on manual dispatch only, and `test_by_tag` keeps running on pushes and PRs. The checkout uses the renamed `uxlfoundation/oneMath` repository instead of the `oneapi-src/oneMKL` redirect. --- .github/workflows/check-onemath.yaml | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/workflows/check-onemath.yaml b/.github/workflows/check-onemath.yaml index 544367ae819..bc6b8c86ccb 100644 --- a/.github/workflows/check-onemath.yaml +++ b/.github/workflows/check-onemath.yaml @@ -5,6 +5,10 @@ on: branches: - master pull_request: + # Nightly run of the oneMath develop branch job: its failures are upstream's, not a PR's + schedule: + - cron: '17 3 * * *' + workflow_dispatch: permissions: contents: read @@ -93,6 +97,8 @@ jobs: needs: build_env_file + if: github.event_name != 'schedule' + strategy: fail-fast: false matrix: @@ -215,6 +221,8 @@ jobs: needs: build_env_file + if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' + strategy: fail-fast: false matrix: @@ -230,7 +238,7 @@ jobs: shell: ${{ matrix.os == 'windows-2022' && 'cmd /C CALL {0}' || 'bash -el {0}' }} env: - onemkl-source-dir: '${{ github.workspace }}/onemkl/' + onemath-source-dir: '${{ github.workspace }}/onemath/' python-label: ${{ endsWith(matrix.python_spec, 't') && format('{0}t', matrix.python) || matrix.python }} steps: @@ -248,18 +256,18 @@ jobs: name: ${{ env.environment-file-name }}-${{ env.python-label }} path: ${{ env.environment-file-loc }} - - name: Checkout oneMKL repo + - name: Checkout oneMath repo uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - repository: 'oneapi-src/oneMKL' + repository: 'uxlfoundation/oneMath' ref: 'develop' - path: ${{ env.onemkl-source-dir }} + path: ${{ env.onemath-source-dir }} fetch-depth: 0 - - name: oneMKL ls info + - name: oneMath ls info run: | - ls -la ${{ env.onemkl-source-dir }} + ls -la ${{ env.onemath-source-dir }} - name: Setup miniconda id: setup_miniconda @@ -289,7 +297,7 @@ jobs: - name: Build and install DPNP package run: | - python scripts/build_locally.py --onemath --onemath-dir=${{ env.onemkl-source-dir }} --verbose + python scripts/build_locally.py --onemath --onemath-dir=${{ env.onemath-source-dir }} --verbose - name: Smoke test run: |