ENH: Update download_all_regression to use extended TSER 2024 archive #9766
Workflow file for this run
This file contains hidden or 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: PR pytest | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| paths: | |
| - "aeon/**" | |
| - ".github/workflows/**" | |
| - "pyproject.toml" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test-no-soft-deps: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Python 3.12 | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| - if: ${{ github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'no numba cache') }} | |
| name: Restore numba cache | |
| uses: ./.github/actions/numba_cache | |
| with: | |
| cache_name: "test-no-soft-deps" | |
| runner_os: ${{ runner.os }} | |
| python_version: "3.12" | |
| - name: Install aeon and dependencies | |
| uses: nick-fields/retry@v3 | |
| with: | |
| timeout_minutes: 30 | |
| max_attempts: 3 | |
| command: python -m pip install .[dev] | |
| - name: Show dependencies | |
| run: python -m pip list | |
| - name: Run tests | |
| run: python -m pytest -n logical | |
| pytest: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ ubuntu-24.04, macOS-14, windows-2022 ] | |
| python-version: [ "3.10", "3.11", "3.12", "3.13" ] | |
| # skip python versions unless the PR has the 'full pytest actions' label | |
| pr-testing: | |
| - ${{ (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'full pytest actions')) }} | |
| exclude: | |
| - pr-testing: true | |
| python-version: "3.11" | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Clear disk space | |
| uses: jlumbroso/[email protected] | |
| with: | |
| dotnet: false | |
| large-packages: false | |
| swap-storage: false | |
| - name: Set swap space | |
| if: runner.os == 'Linux' | |
| uses: pierotofy/[email protected] | |
| with: | |
| swap-size-gb: 12 | |
| - if: ${{ github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'no numba cache') }} | |
| name: Restore numba cache | |
| uses: ./.github/actions/numba_cache | |
| with: | |
| cache_name: "pytest" | |
| runner_os: ${{ runner.os }} | |
| python_version: ${{ matrix.python-version }} | |
| - name: Install aeon and dependencies | |
| uses: ./.github/actions/cpu_all_extras | |
| with: | |
| python_version: ${{ matrix.python-version }} | |
| additional_extras: "dev" | |
| - name: Show dependencies | |
| run: python -m pip list | |
| - name: Run tests | |
| # run the full test suit if a PR has the 'full pytest actions' label | |
| run: python -m pytest -n logical --prtesting ${{ github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'full pytest actions') }} | |
| doctests: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Python 3.12 | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| - if: ${{ github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'no numba cache') }} | |
| name: Restore numba cache | |
| uses: ./.github/actions/numba_cache | |
| with: | |
| cache_name: "doctests" | |
| runner_os: ${{ runner.os }} | |
| python_version: "3.12" | |
| - name: Install aeon and dependencies | |
| uses: ./.github/actions/cpu_all_extras | |
| with: | |
| additional_extras: "dev" | |
| - name: Show dependencies | |
| run: python -m pip list | |
| - name: Run tests | |
| run: python -m pytest -n logical --doctest-only --doctest-continue-on-failure | |
| multithreaded-estimators: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Python 3.12 | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| - if: ${{ github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'no numba cache') }} | |
| name: Restore numba cache | |
| uses: ./.github/actions/numba_cache | |
| with: | |
| cache_name: "multithreaded-estimators" | |
| runner_os: ${{ runner.os }} | |
| python_version: "3.12" | |
| - name: Install aeon and dependencies | |
| uses: ./.github/actions/cpu_all_extras | |
| with: | |
| additional_extras: "dev" | |
| - name: Show dependencies | |
| run: python -m pip list | |
| - name: Run tests | |
| run: python -m pytest aeon/testing/tests/ --enablethreading true -k "check_estimator_multithreading" | |
| codecov: | |
| # run the code coverage job if a PR has the 'codecov actions' label | |
| if: ${{ github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'codecov actions') }} | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Python 3.12 | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| - name: Disable Numba JIT | |
| run: echo "NUMBA_DISABLE_JIT=1" >> $GITHUB_ENV | |
| - name: Install aeon and dependencies | |
| uses: ./.github/actions/cpu_all_extras | |
| with: | |
| additional_extras: "unstable_extras,dev" | |
| - name: Show dependencies | |
| run: python -m pip list | |
| - name: Run tests | |
| run: python -m pytest -n logical --cov=aeon --cov-report=xml --timeout 1800 | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v5 | |
| env: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |