Skip to content

[MNT] Use GPU installs for periodic tests #2747

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 18 additions & 7 deletions .github/workflows/periodic_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,15 @@ jobs:
python_version: "3.11"
restore_cache: "false"

- uses: ./.github/actions/cpu_all_extras
- name: Install dependencies
uses: nick-fields/retry@v3
with:
additional_extras: "dev,binder"
timeout_minutes: 30
max_attempts: 3
command: python -m pip install .[all_extras,binder,dev]

- name: Show dependencies
run: python -m pip list

- name: Run example notebooks
run: .github/utilities/run_examples.sh false
Expand Down Expand Up @@ -182,10 +188,12 @@ jobs:
python_version: ${{ matrix.python-version }}
restore_cache: "false"

- uses: ./.github/actions/cpu_all_extras
- name: Install aeon and dependencies
uses: nick-fields/retry@v3
with:
python_version: ${{ matrix.python-version }}
additional_extras: "dev"
timeout_minutes: 30
max_attempts: 3
command: python -m pip install .[all_extras,dev]

- name: Show dependencies
run: python -m pip list
Expand Down Expand Up @@ -215,9 +223,12 @@ jobs:
- name: Disable Numba JIT
run: echo "NUMBA_DISABLE_JIT=1" >> $GITHUB_ENV

- uses: ./.github/actions/cpu_all_extras
- name: Install aeon and dependencies
uses: nick-fields/retry@v3
with:
additional_extras: "unstable_extras,dev"
timeout_minutes: 30
max_attempts: 3
command: python -m pip install .[all_extras,unstable_extras,dev]

- name: Show dependencies
run: python -m pip list
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pr_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ jobs:
with:
additional_extras: "dev,binder"

- name: Show dependencies
run: python -m pip list

- name: Run example notebooks
run: .github/utilities/run_examples.sh ${{ github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'full examples run') }}
shell: bash
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,11 @@ jobs:
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]

steps:
- uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4

- uses: actions/setup-python@v5
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down Expand Up @@ -96,6 +98,9 @@ jobs:
max_attempts: 3
command: python -m pip install "${{ env.WHEELNAME }}[all_extras,dev]"

- name: Show dependencies
run: python -m pip list

- name: Tests
run: python -m pytest -n logical

Expand Down