forked from sktime/sktime
-
Notifications
You must be signed in to change notification settings - Fork 0
86 lines (84 loc) · 2.48 KB
/
test_module.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
86
name: test module
on:
workflow_call:
jobs:
detect:
name: detect
runs-on: ubuntu-latest
permissions:
pull-requests: read
outputs:
module_changes: ${{ steps.filter.outputs.changes }}
steps:
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
alignment:
- pyproject.toml
- sktime/base/**
- sktime/alignment/**
annotation:
- pyproject.toml
- sktime/base/**
- sktime/annotation/**
classification:
- pyproject.toml
- sktime/base/**
- sktime/classification/**
clustering:
- pyproject.toml
- sktime/base/**
- sktime/clustering/**
forecasting:
- pyproject.toml
- sktime/base/**
- sktime/forecasting/**
networks:
- pyproject.toml
- sktime/base/**
- sktime/networks/**
param_est:
- pyproject.toml
- sktime/base/**
- sktime/param_est/**
regression:
- pyproject.toml
- sktime/base/**
- sktime/regression/**
transformations:
- pyproject.toml
- sktime/base/**
- sktime/transformations/**
test:
needs: detect
name:
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
sktime-component: ${{ fromJSON(needs.detect.outputs.module_changes) }}
runs-on: ${{ matrix.operating-system }}
steps:
- name: checkout pull request branch
uses: actions/checkout@v4
- name: ${{ matrix.sktime-component }}, ${{ matrix.operating-system }}, ${{ matrix.python-version }}
uses: ./.github/actions/test-component
with:
sktime-component-identifier: ${{ matrix.sktime-component }}
python-version-identifier: ${{ matrix.python-version }}
sub-sample-estimators: "True"
test-affected-estimators: "True"
- name: upload coverage
uses: codecov/codecov-action@v4
with:
flags: ${{ matrix.operating-system }},${{ matrix.python-version }},${{ matrix.sktime-component }},incomplete