@@ -22,19 +22,17 @@ jobs:
22
22
fail-fast : false
23
23
24
24
steps :
25
- - uses : actions/checkout@v2
25
+ - uses : actions/checkout@v4
26
26
- name : Set up Python ${{ matrix.python-version }}
27
- uses : actions/setup-python@v1
27
+ uses : actions/setup-python@v5
28
28
with :
29
29
python-version : ${{ matrix.python-version }}
30
30
- name : Install dependencies
31
31
run : |
32
32
python -m pip install --upgrade pip
33
- pip install -r requirements.txt
33
+ pip install .[tests]
34
34
- name : Test with pytest
35
- run : |
36
- pip install pytest
37
- pytest
35
+ run : pytest
38
36
39
37
40
38
integrated-tests :
@@ -48,17 +46,17 @@ jobs:
48
46
fail-fast : false
49
47
50
48
steps :
51
- - uses : actions/checkout@v2
49
+ - uses : actions/checkout@v4
52
50
with :
53
51
lfs : true
54
52
- name : Set up Python ${{ matrix.python-version }}
55
- uses : actions/setup-python@v1
53
+ uses : actions/setup-python@v5
56
54
with :
57
55
python-version : ${{ matrix.python-version }}
58
56
- name : Install dependencies
59
57
run : |
60
58
python -m pip install --upgrade pip
61
- pip install -r requirements.txt
59
+ pip install .[tests]
62
60
- name : Integrated tests
63
61
run : |
64
62
pip install pytest xarray
@@ -75,13 +73,13 @@ jobs:
75
73
fail-fast : false
76
74
77
75
steps :
78
- - uses : actions/checkout@v2
76
+ - uses : actions/checkout@v4
79
77
with :
80
78
lfs : true
81
79
- name : Set up Python
82
- uses : actions/setup-python@v1
80
+ uses : actions/setup-python@v5
83
81
with :
84
- python-version : 3.9
82
+ python-version : " 3.x "
85
83
- name : Install dependencies
86
84
run : |
87
85
python -m pip install --upgrade pip
@@ -112,13 +110,13 @@ jobs:
112
110
fail-fast : false
113
111
114
112
steps :
115
- - uses : actions/checkout@v2
113
+ - uses : actions/checkout@v4
116
114
with :
117
115
lfs : true
118
116
- name : Set up Python
119
- uses : actions/setup-python@v1
117
+ uses : actions/setup-python@v5
120
118
with :
121
- python-version : 3.9
119
+ python-version : " 3.x "
122
120
- name : Install dependencies
123
121
run : |
124
122
python -m pip install --upgrade pip
@@ -153,15 +151,15 @@ jobs:
153
151
if : always()
154
152
155
153
steps :
156
- - uses : actions/checkout@v2
154
+ - uses : actions/checkout@v4
157
155
- name : Set up Python
158
- uses : actions/setup-python@v1
156
+ uses : actions/setup-python@v5
159
157
with :
160
- python-version : 3.9
158
+ python-version : " 3.x "
161
159
- name : Install dependencies
162
160
run : |
163
161
python -m pip install --upgrade pip
164
- pip install -r requirements.txt
162
+ pip install .
165
163
- name : Lint with flake8
166
164
run : |
167
165
pip install flake8
@@ -175,11 +173,11 @@ jobs:
175
173
if : always()
176
174
177
175
steps :
178
- - uses : actions/checkout@v2
176
+ - uses : actions/checkout@v4
179
177
- name : Set up Python
180
- uses : actions/setup-python@v1
178
+ uses : actions/setup-python@v5
181
179
with :
182
- python-version : 3.9
180
+ python-version : " 3.x "
183
181
- name : Install dependencies
184
182
run : |
185
183
python -m pip install --upgrade pip
0 commit comments