-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
47 lines (47 loc) · 1.16 KB
/
test_base.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
name: test base workflow
on:
pull_request:
branches:
- main
jobs:
detect:
name: check for changes in base framework
runs-on: ubuntu-latest
permissions:
pull-requests: read
outputs:
base: ${{ steps.filter.outputs.base }}
steps:
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
base:
- sktime/base/**
test:
needs: detect
name: test base framework
if: ${{ needs.detect.outputs.base == 'true' }}
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: checkout pull request branch
uses: actions/checkout@v4
- name: run tests on python ${{ matrix.python-version }}
uses: ./.github/actions/test-base
with:
python-version-identifier: ${{ matrix.python-version }}
sub-sample-estimators: "True"
test-affected-estimators: "True"