@@ -30,290 +30,8 @@ jobs:
3030 run : build_tools/fail_on_missing_init_files.sh
3131 shell : bash
3232
33- run-notebook-examples :
34- needs : code-quality
35- runs-on : ubuntu-latest
36- steps :
37- - uses : actions/checkout@v4
38- - name : Set up Python
39- uses : actions/setup-python@v5
40- with :
41- python-version : 3.9
42- - name : Install dependencies
43- run : |
44- python -m pip install --upgrade pip
45- python -m pip install .[all_extras,binder,dev,mlflow]
46- - name : Run example notebooks
47- run : build_tools/run_examples.sh
48- shell : bash
49-
50- run-blogpost-examples :
51- needs : code-quality
52- runs-on : ubuntu-latest
53- steps :
54- - uses : actions/checkout@v4
55- - name : Set up Python
56- uses : actions/setup-python@v5
57- with :
58- python-version : 3.9
59- - name : Install dependencies
60- run : |
61- python -m pip install --upgrade pip
62- python -m pip install .[all_extras,binder,dev,mlflow]
63- - name : Run example notebooks
64- run : build_tools/run_blogposts.sh
65- shell : bash
66-
67- test-nodevdeps :
68- needs : code-quality
69- runs-on : ubuntu-latest
70- steps :
71- - uses : actions/checkout@v4
72- - name : Set up Python
73- uses : actions/setup-python@v5
74- with :
75- python-version : 3.9
76- - name : Display Python version
77- run : python -c "import sys; print(sys.version)"
78-
79- - name : Install sktime and dependencies
80- run : |
81- python -m pip install .
82-
83- - name : Run pytest-free tests
84- run : |
85- python sktime/_nopytest_tests.py
86-
87- test-nosoftdeps :
88- needs : code-quality
89- runs-on : ubuntu-latest
90- steps :
91- - uses : actions/checkout@v4
92- - name : Set up Python
93- uses : actions/setup-python@v5
94- with :
95- python-version : 3.9
96- - name : Display Python version
97- run : python -c "import sys; print(sys.version)"
98-
99- - name : Install sktime and dependencies
100- run : |
101- python -m pip install .[dev]
102-
103- - name : Show dependencies
104- run : python -m pip list
105-
106- - name : Run tests
107- run : make PYTESTOPTIONS="--cov --cov-report=xml --timeout=600" test_softdeps
108-
109- test-nosoftdeps-full :
110- needs : test-nosoftdeps
111- runs-on : ubuntu-latest
112- steps :
113- - uses : actions/checkout@v4
114-
115- - run : git remote set-branches origin 'main'
116-
117- - run : git fetch --depth 1
118-
119- - name : Set up Python
120- uses : actions/setup-python@v5
121- with :
122- python-version : 3.9
123-
124- - name : Display Python version
125- run : python -c "import sys; print(sys.version)"
126-
127- - name : Install sktime and dependencies
128- run : |
129- python -m pip install .[dev]
130-
131- - name : Show dependencies
132- run : python -m pip list
133-
134- - name : Run tests
135- run : make PYTESTOPTIONS="--cov --cov-report=xml --timeout=600" test_softdeps_full
136-
137- test-mlflow :
138- needs : test-nosoftdeps
139- runs-on : ubuntu-latest
140- steps :
141- - uses : actions/checkout@v4
142- - name : Set up Python
143- uses : actions/setup-python@v5
144- with :
145- python-version : 3.9
146- - name : Display Python version
147- run : python -c "import sys; print(sys.version)"
148-
149- - name : Install sktime and dependencies
150- run : |
151- python -m pip install .[all_extras,dev,mlflow_tests] --no-cache-dir
152-
153- - name : Show dependencies
154- run : python -m pip list
155-
156- - name : Run tests
157- run : make PYTESTOPTIONS="--cov --cov-report=xml --timeout=600" test_mlflow
158-
159- test-cython-estimators :
160- needs : test-nosoftdeps
161- runs-on : macos-latest
162- steps :
163- - uses : actions/checkout@v4
164-
165- - run : git remote set-branches origin 'main'
166-
167- - run : git fetch --depth 1
168-
169- - name : Set up Python
170- uses : actions/setup-python@v5
171- with :
172- python-version : 3.9
173- - name : Display Python version
174- run : python -c "import sys; print(sys.version)"
175-
176- - name : Install OS packages
177- run : brew install libomp
178-
179- - name : Install sktime and dependencies
180- run : |
181- python -m pip install .[dev,cython_extras] --no-cache-dir
182-
183- - name : Show dependencies
184- run : python -m pip list
185-
186- - name : Run tests
187- run : make PYTESTOPTIONS="--cov --cov-report=xml --only_cython_estimators=True --matrixdesign=False --timeout=600" test_check_suite
188-
189- - name : Publish code coverage
190- uses : codecov/codecov-action@v4
191- with :
192- token : ${{ secrets.CODECOV_TOKEN }}
193-
194- detect :
195- needs : test-nosoftdeps
196- name : detect changes
197- runs-on : ubuntu-latest
198- permissions :
199- pull-requests : read
200- outputs :
201- datasets : ${{ steps.filter.outputs.datasets }}
202- pyproject : ${{ steps.filter.outputs.pyproject }}
203- steps :
204- - uses : actions/checkout@v4
205- - uses : dorny/paths-filter@v3
206- id : filter
207- with :
208- filters : |
209- datasets:
210- - sktime/base/**
211- - sktime/datasets/**
212- pyproject:
213- - pyproject.toml
214-
215- test-base :
216- needs : test-nosoftdeps
217- name : base
218- uses : ./.github/workflows/test_base.yml
219- secrets : inherit
220-
22133 test-module :
222- needs : test-nosoftdeps
34+ needs : code-quality
22335 name : module
22436 uses : ./.github/workflows/test_module.yml
22537 secrets : inherit
226-
227- test-other :
228- needs : test-nosoftdeps
229- name : other
230- uses : ./.github/workflows/test_other.yml
231- secrets : inherit
232-
233- test-datasets :
234- needs : detect
235- name : datasets
236- if : ${{ needs.detect.outputs.datasets == 'true' }}
237- uses : ./.github/workflows/test_datasets.yml
238- secrets : inherit
239-
240- test-full :
241- needs : test-nosoftdeps
242- strategy :
243- fail-fast : false # to not fail all combinations if just one fail
244- matrix :
245- python-version : ['3.8', '3.9', '3.10', '3.11', '3.12']
246- os : [ubuntu-latest, macos-latest, windows-latest]
247- runs-on : ${{ matrix.os }}
248- steps :
249- - uses : actions/checkout@v4
250-
251- - run : git remote set-branches origin 'main'
252-
253- - run : git fetch --depth 1
254-
255- - name : Set up Python
256- uses : actions/setup-python@v5
257- with :
258- python-version : ${{ matrix.python-version }}
259-
260- - name : Display Python version
261- run : python -c "import sys; print(sys.version)"
262-
263- - name : Install sktime and dependencies
264- run : |
265- python -m pip install .[all_extras_pandas2,dev,dl] --no-cache-dir
266-
267- - name : Show dependencies
268- run : python -m pip list
269-
270- - name : Show available branches
271- run : git branch -a
272-
273- - name : Run tests
274- run : make test_without_datasets
275-
276- - name : Publish code coverage
277- uses : codecov/codecov-action@v4
278- with :
279- token : ${{ secrets.CODECOV_TOKEN }}
280-
281- test-unix-pandas1 :
282- needs : test-nosoftdeps
283- strategy :
284- fail-fast : false
285- matrix :
286- python-version : ['3.8', '3.9', '3.10', '3.11', '3.12']
287- runs-on : ubuntu-latest
288- steps :
289- - uses : actions/checkout@v4
290-
291- - run : git remote set-branches origin 'main'
292-
293- - run : git fetch --depth 1
294-
295- - name : Set up Python
296- uses : actions/setup-python@v5
297- with :
298- python-version : ${{ matrix.python-version }}
299-
300- - name : Display Python version
301- run : python -c "import sys; print(sys.version)"
302-
303- - name : Install sktime and dependencies
304- run : |
305- python -m pip install .[all_extras,dev,pandas1] --no-cache-dir
306-
307- - name : Show dependencies
308- run : python -m pip list
309-
310- - name : Show available branches
311- run : git branch -a
312-
313- - name : Run tests
314- run : make test_without_datasets
315-
316- - name : Publish code coverage
317- uses : codecov/codecov-action@v4
318- with :
319- token : ${{ secrets.CODECOV_TOKEN }}
0 commit comments