@@ -18,23 +18,23 @@ jobs:
18
18
matrix :
19
19
os : [ubuntu-latest]
20
20
python-version : ['3.9', '3.10'] # , '3.11'] possible conflicts between numpy & astropy on 3.11.
21
- astropy-version : ['<5.1 ', '<5.3 ', '<6 .0']
22
- desiutil-version : ['3.3.1 ', 'main']
21
+ astropy-version : ['<6.0 ', '<6.1 ', '<7 .0']
22
+ desiutil-version : ['3.4.3 ', 'main']
23
23
24
24
steps :
25
25
- name : Checkout code
26
- uses : actions/checkout@v3
26
+ uses : actions/checkout@v4
27
27
with :
28
28
fetch-depth : 0
29
29
- name : Set up Python ${{ matrix.python-version }}
30
- uses : actions/setup-python@v4
30
+ uses : actions/setup-python@v5
31
31
with :
32
32
python-version : ${{ matrix.python-version }}
33
33
- name : Install Python dependencies
34
34
run : |
35
- python -m pip install --upgrade pip wheel
35
+ python -m pip install --upgrade pip setuptools wheel
36
36
python -m pip install pytest jinja2
37
- python -m pip install numpy\<1.23
37
+ python -m pip install numpy\<2.0
38
38
python -m pip install "git+https://github.com/desihub/desiutil.git@${{ matrix.desiutil-version }}#egg=desiutil"
39
39
python -m pip install "astropy${{ matrix.astropy-version }}"
40
40
- name : Run the test
@@ -52,19 +52,19 @@ jobs:
52
52
53
53
steps :
54
54
- name : Checkout code
55
- uses : actions/checkout@v3
55
+ uses : actions/checkout@v4
56
56
with :
57
57
fetch-depth : 0
58
58
- name : Set up Python ${{ matrix.python-version }}
59
- uses : actions/setup-python@v4
59
+ uses : actions/setup-python@v5
60
60
with :
61
61
python-version : ${{ matrix.python-version }}
62
62
- name : Install Python dependencies
63
63
run : |
64
- python -m pip install --upgrade pip wheel
64
+ python -m pip install --upgrade pip setuptools wheel
65
65
python -m pip install pytest pytest-cov coveralls
66
+ python -m pip install numpy\<2.0
66
67
python -m pip install -r requirements.txt
67
- python -m pip install --upgrade numpy\<1.23
68
68
- name : Run the test with coverage
69
69
run : |
70
70
pytest --cov
@@ -86,17 +86,17 @@ jobs:
86
86
87
87
steps :
88
88
- name : Checkout code
89
- uses : actions/checkout@v3
89
+ uses : actions/checkout@v4
90
90
with :
91
91
fetch-depth : 0
92
92
- name : Set up Python ${{ matrix.python-version }}
93
- uses : actions/setup-python@v4
93
+ uses : actions/setup-python@v5
94
94
with :
95
95
python-version : ${{ matrix.python-version }}
96
96
- name : Install Python dependencies
97
97
run : |
98
- python -m pip install --upgrade pip wheel
99
- python -m pip install Sphinx sphinx-toolbox
98
+ python -m pip install --upgrade pip setuptools wheel
99
+ python -m pip install -r doc/rtd-requirements.txt
100
100
- name : Test the documentation
101
101
env :
102
102
PYTHONPATH : ${{ github.workspace }}/py
@@ -112,15 +112,15 @@ jobs:
112
112
matrix :
113
113
os : [ubuntu-latest]
114
114
python-version : ['3.10']
115
- desiutil-version : ['3.3.0 ']
115
+ desiutil-version : ['3.4.3 ']
116
116
117
117
steps :
118
118
- name : Checkout code
119
- uses : actions/checkout@v3
119
+ uses : actions/checkout@v4
120
120
with :
121
121
fetch-depth : 0
122
122
- name : Set up Python ${{ matrix.python-version }}
123
- uses : actions/setup-python@v4
123
+ uses : actions/setup-python@v5
124
124
with :
125
125
python-version : ${{ matrix.python-version }}
126
126
- name : Install Python dependencies
@@ -144,16 +144,16 @@ jobs:
144
144
145
145
steps :
146
146
- name : Checkout code
147
- uses : actions/checkout@v3
147
+ uses : actions/checkout@v4
148
148
with :
149
149
fetch-depth : 0
150
150
- name : Set up Python ${{ matrix.python-version }}
151
- uses : actions/setup-python@v4
151
+ uses : actions/setup-python@v5
152
152
with :
153
153
python-version : ${{ matrix.python-version }}
154
154
- name : Install Python dependencies
155
155
run : |
156
- python -m pip install --upgrade pip wheel
156
+ python -m pip install --upgrade pip setuptools wheel
157
157
python -m pip install pycodestyle
158
158
- name : Test the style
159
159
# This is equivalent to an allowed falure.
0 commit comments