File tree Expand file tree Collapse file tree 5 files changed +18
-5
lines changed Expand file tree Collapse file tree 5 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 15
15
build-with-oneapi-env : ' environments/build_with_oneapi.yml'
16
16
dpctl-pkg-env : ' environments/dpctl_pkg.yml'
17
17
oneapi-pkgs-env : ' environments/oneapi_pkgs.yml'
18
+ test-pkg-env : ' environments/test.yml'
18
19
test-env-name : ' test_onemath'
19
20
rerun-tests-on-failure : ' true'
20
21
rerun-tests-max-attempts : 2
49
50
50
51
- name : Merge conda env files
51
52
run : |
52
- conda-merge ${{ env.dpctl-pkg-env }} ${{ env.oneapi-pkgs-env }} ${{ env.build-with-oneapi-env }} > ${{ env.environment-file }}
53
+ conda-merge ${{ env.dpctl-pkg-env }} \
54
+ ${{ env.oneapi-pkgs-env }} \
55
+ ${{ env.build-with-oneapi-env }} \
56
+ ${{ env.test-pkg-env }} > ${{ env.environment-file }}
53
57
cat ${{ env.environment-file }}
54
58
55
59
- name : Upload artifact
Original file line number Diff line number Diff line change @@ -84,12 +84,12 @@ jobs:
84
84
id : install_dpnp
85
85
continue-on-error : true
86
86
run : |
87
- mamba install ${{ env.package-name }}=${{ steps.find_latest_tag.outputs.tag }} pytest ${{ env.channels-list }}
87
+ mamba install ${{ env.package-name }}=${{ steps.find_latest_tag.outputs.tag }} pytest scipy ${{ env.channels-list }}
88
88
89
89
- name : ReInstall dpnp
90
90
if : steps.install_dpnp.outcome == 'failure'
91
91
run : |
92
- mamba install ${{ env.package-name }}=${{ steps.find_latest_tag.outputs.tag }} pytest ${{ env.channels-list }}
92
+ mamba install ${{ env.package-name }}=${{ steps.find_latest_tag.outputs.tag }} pytest scipy ${{ env.channels-list }}
93
93
94
94
- name : List installed packages
95
95
run : mamba list
Original file line number Diff line number Diff line change 25
25
environment-file : ' environments/environment.yml'
26
26
build-with-oneapi-env : ' environments/build_with_oneapi.yml'
27
27
coverage-env : ' environments/coverage.yml'
28
+ test-pkg-env : ' environments/test.yml'
28
29
oneapi-pkgs-env : ' '
29
30
# Enable env when it's required to use only conda packages without OneAPI installation
30
31
# oneapi-pkgs-env: '${{ github.workspace }}/environments/oneapi_pkgs.yml'
73
74
74
75
- name : Merge conda env files
75
76
run : |
76
- conda-merge ${{ env.build-with-oneapi-env }} ${{ env.coverage-env }} ${{ env.oneapi-pkgs-env }} > ${{ env.environment-file }}
77
+ conda-merge ${{ env.build-with-oneapi-env }} \
78
+ ${{ env.coverage-env }} \
79
+ ${{ env.oneapi-pkgs-env }} \
80
+ ${{ env.test-pkg-env }} > ${{ env.environment-file }}
77
81
cat ${{ env.environment-file }}
78
82
79
83
- name : Setup miniconda
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ dependencies:
6
6
- cython
7
7
- ninja
8
8
- numpy
9
- - pytest
10
9
- setuptools
11
10
- scikit-build
12
11
- versioneer
Original file line number Diff line number Diff line change
1
+ name : Packages to test DPNP
2
+ channels :
3
+ - conda-forge
4
+ dependencies :
5
+ - pytest
6
+ - scipy
You can’t perform that action at this time.
0 commit comments