Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0e6c0a2
commit ad43e62
Showing
1 changed file
with
81 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
name: datasets validation | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- sktime/datasets/** | ||
schedule: | ||
- cron: 0 0 1 * * | ||
workflow_dispatch: | ||
jobs: | ||
test_internal_data: | ||
name: test data shipped with sktime | ||
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@v4 | ||
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 | ||
test_external_data: | ||
name: test data downloaded from external sources | ||
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@v4 | ||
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 |