Skip to content

Commit fe27f01

Browse files
committed
Exclude testing with scipy in python 3.9 env
1 parent d7edd4f commit fe27f01

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.github/workflows/cron-run-tests.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,16 @@ jobs:
3939
matrix:
4040
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
4141
runner: [ubuntu-22.04, ubuntu-24.04, windows-2022]
42+
include:
43+
- python: 3.9
44+
# do not install scipy due to import issue
45+
test-packages: "pytest"
46+
- python: 3.10
47+
test-packages: "pytest scipy"
48+
- python: 3.11
49+
test-packages: "pytest scipy"
50+
- python: 3.12
51+
test-packages: "pytest scipy"
4252

4353
steps:
4454
- name: Cancel Previous Runs
@@ -84,12 +94,12 @@ jobs:
8494
id: install_dpnp
8595
continue-on-error: true
8696
run: |
87-
mamba install ${{ env.package-name }}=${{ steps.find_latest_tag.outputs.tag }} pytest scipy ${{ env.channels-list }}
97+
mamba install ${{ env.package-name }}=${{ steps.find_latest_tag.outputs.tag }} ${{ matrix.test-packages }} ${{ env.channels-list }}
8898
8999
- name: ReInstall dpnp
90100
if: steps.install_dpnp.outcome == 'failure'
91101
run: |
92-
mamba install ${{ env.package-name }}=${{ steps.find_latest_tag.outputs.tag }} pytest scipy ${{ env.channels-list }}
102+
mamba install ${{ env.package-name }}=${{ steps.find_latest_tag.outputs.tag }} ${{ matrix.test-packages }} ${{ env.channels-list }}
93103
94104
- name: List installed packages
95105
run: mamba list

conda-recipe/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ test:
6363
requires:
6464
- pytest
6565
- setuptools
66-
- scipy
66+
- scipy # [py>39]
6767

6868
about:
6969
home: https://github.com/IntelPython/dpnp

0 commit comments

Comments
 (0)