forked from sktime/sktime
-
Notifications
You must be signed in to change notification settings - Fork 0
85 lines (85 loc) · 2.43 KB
/
test_datasets.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
name: datasets
on:
schedule:
- cron: 0 0 1 * *
workflow_call:
workflow_dispatch:
jobs:
test_internal_data:
name: onboard
strategy:
fail-fast: false
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
operating-system:
- macos-latest
- ubuntu-latest
- windows-latest
runs-on: ${{ matrix.operating-system }}
steps:
- name: repository checkout step
uses: actions/checkout@v4
- name: update tracking reference step
run: git remote set-branches origin main
shell: bash
- name: shallow clone update step
run: git fetch --depth 1
shell: bash
- name: python environment step
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: dependencies installation step
run: python3 -m pip install .[tests]
shell: bash
- name: unit test step
run: python3 -m pytest -m "not datadownload" sktime/datasets
shell: bash
- name: upload coverage step
uses: codecov/codecov-action@v4
with:
flags: ${{ matrix.operating-system }},${{ matrix.python-version }},datasets
test_external_data:
name: downloads
strategy:
fail-fast: false
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
operating-system:
- macos-latest
- ubuntu-latest
- windows-latest
runs-on: ${{ matrix.operating-system }}
steps:
- name: repository checkout step
uses: actions/checkout@v4
- name: update tracking reference step
run: git remote set-branches origin main
shell: bash
- name: shallow clone update step
run: git fetch --depth 1
shell: bash
- name: python environment step
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: dependencies installation step
run: python3 -m pip install .[tests]
shell: bash
- name: unit test step
run: python3 -m pytest -m "datadownload" sktime/datasets
shell: bash
- name: upload coverage step
uses: codecov/codecov-action@v4
with:
flags: ${{ matrix.operating-system }},${{ matrix.python-version }},datasets