@@ -22,28 +22,24 @@ jobs:
22
22
strategy :
23
23
fail-fast : False
24
24
matrix :
25
- os : [ubuntu-latest, macos-latest , windows-latest]
26
- python-version : ["3.8", "3.9", "3. 10", "3.11", "3.12"]
27
- mkl-version : ['2023'] # currently 2024 fails building for some reason...
25
+ os : [ubuntu-latest, macos-12 , windows-latest]
26
+ python-version : ["3.10", "3.11", "3.12"]
27
+ mkl-version : ['2023', ' 2024']
28
28
include :
29
29
- os : ubuntu-latest
30
30
python-version : " 3.12"
31
31
coverage : ${{ true }}
32
- - os : ubuntu-latest
33
- python-version : " 3.12"
34
- mkl-version : ' 2024'
35
- - os : windows-latest
36
- python-version : " 3.12"
37
- mkl-version : ' 2024'
32
+ exclude :
33
+ - os : macos-12
34
+ mkl-version : " 2024"
38
35
39
36
steps :
40
37
- uses : actions/checkout@v4
41
38
- name : Setup Conda
42
39
uses : conda-incubator/setup-miniconda@v3
43
40
with :
44
41
python-version : ${{ matrix.python-version }}
45
- mamba-version : ' *'
46
- channels : conda-forge, defaults
42
+ channels : defaults
47
43
channel-priority : true
48
44
activate-environment : dev
49
45
@@ -55,22 +51,25 @@ jobs:
55
51
56
52
- name : Create environment
57
53
run : |
58
- mamba install --quiet --yes pip numpy scipy cython mkl=${{ matrix.mkl-version }} pytest \
54
+ conda install --quiet --yes -c conda-forge \
55
+ pip numpy scipy cython mkl=${{ matrix.mkl-version }} pytest \
59
56
mkl-devel pkg-config meson-python meson ninja setuptools_scm \
60
- ${{ matrix.coverage && 'coverage' || ''}}
57
+ ${{ matrix.coverage && 'coverage' || ''}} \
58
+ ${{ matrix.os == 'windows-latest' && '"libblas=*=*mkl"' || ''}}
61
59
62
60
- name : Install Our Package
63
61
run : |
64
62
python -m pip install --no-build-isolation --verbose --editable . \
65
63
--config-setting=compile-args=-v \
66
- ${{ matrix.coverage && '--config-settings=setup-args="-Dcy_coverage=true"' || ''}}
64
+ ${{ matrix.coverage && '--config-settings=setup-args="-Db_coverage=true"' || ''}} \
65
+ ${{ matrix.os == 'windows-latest' && '--config-settings=setup-args="-Dvsenv=true"' || ''}}
66
+
67
67
conda list
68
68
69
69
- name : Run Tests
70
70
run : |
71
71
${{ matrix.coverage && 'coverage run -m' || '' }} pytest -s -v
72
72
${{ matrix.coverage && 'coverage xml' || '' }}
73
- continue-on-error : ${{ matrix.os == 'windows-latest' && matrix.mkl-version == '2024'}}
74
73
75
74
- name : Upload coverage
76
75
if : ${{ matrix.coverage }}
93
92
- name : Setup Conda
94
93
uses : conda-incubator/setup-miniconda@v3
95
94
with :
96
- python-version : 3.11
97
- mamba-version : ' *'
98
- channels : conda-forge, defaults
95
+ python-version : " 3.11"
96
+ channels : defaults
99
97
channel-priority : true
100
98
activate-environment : dev
101
99
@@ -107,7 +105,7 @@ jobs:
107
105
108
106
- name : Create environment
109
107
run : |
110
- mamba install --quiet --yes pip numpy scipy cython mkl=2023 \
108
+ conda install --quiet --yes pip numpy scipy cython mkl=2023 \
111
109
mkl-devel pkg-config meson-python meson ninja setuptools_scm \
112
110
python-build
113
111
0 commit comments