1919 RERUN_TESTS_ON_FAILURE : ' true'
2020 RUN_TESTS_MAX_ATTEMPTS : 2
2121 TEST_ENV_NAME : ' test'
22- TEST_SCOPE : >-
23- test_absolute.py
24- test_amin_amax.py
25- test_arithmetic.py
26- test_arraycreation.py
27- test_arraymanipulation.py
28- test_bitwise.py
29- test_copy.py
30- test_counting.py
31- test_fft.py
32- test_flat.py
33- test_histogram.py
34- test_indexing.py
35- test_linalg.py
36- test_logic.py
37- test_manipulation.py
38- test_mathematical.py
39- test_mixins.py
40- test_nanfunctions.py
41- test_ndarray.py
42- test_outer.py
43- test_product.py
44- test_random_state.py
45- test_search.py
46- test_sort.py
47- test_special.py
48- test_statistics.py
49- test_sum.py
50- test_sycl_queue.py
51- test_umath.py
52- test_usm_type.py
53- third_party/cupy/core_tests
54- third_party/cupy/fft_tests
55- third_party/cupy/creation_tests
56- third_party/cupy/indexing_tests
57- third_party/cupy/lib_tests
58- third_party/cupy/linalg_tests
59- third_party/cupy/logic_tests
60- third_party/cupy/manipulation_tests
61- third_party/cupy/math_tests
62- third_party/cupy/sorting_tests
63- third_party/cupy/statistics_tests/test_histogram.py
64- third_party/cupy/statistics_tests/test_meanvar.py
65- third_party/cupy/test_ndim.py
6622 VER_JSON_NAME : ' version.json'
6723 VER_SCRIPT1 : " import json; f = open('version.json', 'r'); j = json.load(f); f.close(); "
6824 VER_SCRIPT2 : " d = j['dpnp'][0]; print('='.join((d[s] for s in ('version', 'build'))))"
8440
8541 defaults :
8642 run :
87- shell : ${{ matrix.os == 'windows-2019' && 'cmd /C CALL {0}' || 'bash -l {0}' }}
43+ shell : ${{ matrix.os == 'windows-2019' && 'cmd /C CALL {0}' || 'bash -el {0}' }}
8844
8945 continue-on-error : true
9046
9551 access_token : ${{ github.token }}
9652
9753 - name : Checkout DPNP repo
98- uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
54+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
9955 with :
10056 fetch-depth : 0
10157
12076 run : echo "MAMBA_NO_LOW_SPEED_LIMIT=1" >> $GITHUB_ENV
12177
12278 - name : Store conda paths as envs
123- shell : bash -l {0}
79+ shell : bash -el {0}
12480 run : |
12581 echo "CONDA_BLD=$CONDA_PREFIX/conda-bld/${{ runner.os == 'Linux' && 'linux' || 'win' }}-64/" | tr "\\\\" '/' >> $GITHUB_ENV
12682 echo "WHEELS_OUTPUT_FOLDER=$GITHUB_WORKSPACE${{ runner.os == 'Linux' && '/' || '\\' }}" >> $GITHUB_ENV
12985 run : mamba install conda-build=${{ env.CONDA_BUILD_VERSION}}
13086
13187 - name : Cache conda packages
132- uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
88+ uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
13389 env :
13490 CACHE_NUMBER : 1 # Increase to reset cache
13591 with :
14298
14399 - name : Build conda package
144100 run : conda build --no-test --python ${{ matrix.python }} --numpy 2.0 ${{ env.CHANNELS }} conda-recipe
101+ env :
102+ MAX_BUILD_CMPL_MKL_VERSION : ' 2025.1a0'
145103
146104 - name : Upload artifact
147105 uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
@@ -164,7 +122,7 @@ jobs:
164122
165123 defaults :
166124 run :
167- shell : bash -l {0}
125+ shell : bash -el {0}
168126
169127 strategy :
170128 matrix :
@@ -229,7 +187,7 @@ jobs:
229187 TEST_CHANNELS : ' -c ${{ env.channel-path }} ${{ env.CHANNELS }}'
230188
231189 - name : Cache conda packages
232- uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
190+ uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
233191 env :
234192 CACHE_NUMBER : 1 # Increase to reset cache
235193 with :
@@ -257,7 +215,7 @@ jobs:
257215 - name : Run tests
258216 if : env.RERUN_TESTS_ON_FAILURE != 'true'
259217 run : |
260- python -m pytest -q -ra --disable-warnings -vv ${{ env.TEST_SCOPE }}
218+ python -m pytest -q -ra --disable-warnings -vv .
261219 working-directory : ${{ env.tests-path }}
262220
263221 - name : Run tests
@@ -273,7 +231,7 @@ jobs:
273231 . $CONDA/etc/profile.d/conda.sh
274232 conda activate ${{ env.TEST_ENV_NAME }}
275233 cd ${{ env.tests-path }}
276- python -m pytest -q -ra --disable-warnings -vv ${{ env.TEST_SCOPE }}
234+ python -m pytest -q -ra --disable-warnings -vv .
277235
278236 test_windows :
279237 name : Test ['windows-2019', python='${{ matrix.python }}']
@@ -360,7 +318,7 @@ jobs:
360318 @echo on
361319 set "SCRIPT=${{ env.VER_SCRIPT1 }} ${{ env.VER_SCRIPT2 }}"
362320 FOR /F "tokens=* USEBACKQ" %%F IN (`python -c "%SCRIPT%"`) DO (
363- SET PACKAGE_VERSION=%%F
321+ set PACKAGE_VERSION=%%F
364322 )
365323 echo PACKAGE_VERSION: %PACKAGE_VERSION%
366324 (echo PACKAGE_VERSION=%PACKAGE_VERSION%) >> %GITHUB_ENV%
@@ -373,7 +331,7 @@ jobs:
373331 run : more lockfile
374332
375333 - name : Cache conda packages
376- uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
334+ uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
377335 env :
378336 CACHE_NUMBER : 1 # Increase to reset cache
379337 with :
@@ -399,7 +357,11 @@ jobs:
399357 shell : pwsh
400358 run : |
401359 $script_path="$env:CONDA_PREFIX\Scripts\set-intel-ocl-icd-registry.ps1"
402- &$script_path
360+ if (Test-Path $script_path) {
361+ &$script_path
362+ } else {
363+ Write-Warning "File $script_path was NOT found!"
364+ }
403365 # Check the variable assisting OpenCL CPU driver to find TBB DLLs which are not located where it expects them by default
404366 $cl_cfg="$env:CONDA_PREFIX\Library\lib\cl.cfg"
405367 Get-Content -Tail 5 -Path $cl_cfg
@@ -412,7 +374,7 @@ jobs:
412374 - name : Run tests
413375 if : env.RERUN_TESTS_ON_FAILURE != 'true'
414376 run : |
415- python -m pytest -q -ra --disable-warnings -vv ${{ env.TEST_SCOPE }}
377+ python -m pytest -q -ra --disable-warnings -vv .
416378 working-directory : ${{ env.tests-path }}
417379
418380 - name : Run tests
@@ -427,7 +389,7 @@ jobs:
427389 command : >-
428390 mamba activate ${{ env.TEST_ENV_NAME }}
429391 & cd ${{ env.tests-path }}
430- & python -m pytest -q -ra --disable-warnings -vv ${{ env.TEST_SCOPE }}
392+ & python -m pytest -q -ra --disable-warnings -vv .
431393
432394 upload :
433395 name : Upload ['${{ matrix.os }}', python='${{ matrix.python }}']
@@ -443,7 +405,7 @@ jobs:
443405
444406 defaults :
445407 run :
446- shell : bash -l {0}
408+ shell : bash -el {0}
447409
448410 continue-on-error : true
449411
@@ -492,11 +454,15 @@ jobs:
492454
493455 cleanup_packages :
494456 name : Clean up anaconda packages
457+
495458 needs : [upload]
459+
496460 runs-on : ' ubuntu-latest'
461+
497462 defaults :
498463 run :
499464 shell : bash -el {0}
465+
500466 steps :
501467 - uses : conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4
502468 with :
@@ -514,7 +480,7 @@ jobs:
514480 run : mamba install anaconda-client
515481
516482 - name : Checkout repo
517- uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
483+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
518484 with :
519485 repository : IntelPython/devops-tools
520486 fetch-depth : 0
0 commit comments