test all #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test all workflow | |
on: | |
schedule: | |
- cron: 0 0 * * 0 | |
workflow_dispatch: | |
jobs: | |
code_quality: | |
name: validate code quality | |
runs-on: ubuntu-latest | |
steps: | |
- name: repository checkout step | |
uses: actions/checkout@v4 | |
- name: python environment step | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.8" | |
- name: install pre-commit | |
run: python3 -m pip install pre-commit | |
- name: run pre-commit hooks on all files | |
run: pre-commit run --color always --all-files --show-diff-on-failure | |
- name: check missing __init__ files | |
run: build_tools/fail_on_missing_init_files.sh | |
shell: bash | |
test_base: | |
needs: code_quality | |
name: test base framework | |
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: "False" | |
test-affected-estimators: "False" | |
test_components: | |
needs: code_quality | |
name: test individual components | |
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: | |
- alignment | |
- annotation | |
- classification | |
- clustering | |
- forecasting | |
- networks | |
- param_est | |
- regression | |
- transformations | |
runs-on: ${{ matrix.operating-system }} | |
steps: | |
- name: checkout pull request branch | |
uses: actions/checkout@v4 | |
- name: run tests for component ${{ matrix.sktime-component }} on python ${{ matrix.python-version }} | |
uses: ./.github/actions/test-component | |
with: | |
sktime-component-identifier: ${{ matrix.sktime-component }} | |
python-version-identifier: ${{ matrix.python-version }} | |
sub-sample-estimators: "False" | |
test-affected-estimators: "False" |