-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MNT] Trying to diagnose ubuntu workflow failures (#2413)
* fix main workflow conditions * try downgrade ubuntu * latest image * swap space * linux only * periodic and release also
- Loading branch information
1 parent
225c2b6
commit 6c22d20
Showing
17 changed files
with
51 additions
and
33 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
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
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
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ on: | |
|
||
jobs: | ||
self-assign: | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
|
||
steps: | ||
- name: Checkout | ||
|
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
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 |
---|---|---|
|
@@ -12,7 +12,7 @@ concurrency: | |
|
||
jobs: | ||
check-manifest: | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
|
||
steps: | ||
- name: Checkout | ||
|
@@ -29,7 +29,7 @@ jobs: | |
extra_args: check-manifest --hook-stage manual | ||
|
||
pre-commit: | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
|
||
steps: | ||
- name: Checkout | ||
|
@@ -46,7 +46,7 @@ jobs: | |
extra_args: --all-files | ||
|
||
run-notebook-examples: | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
|
||
steps: | ||
- name: Checkout | ||
|
@@ -84,7 +84,7 @@ jobs: | |
key: numba-run-notebook-examples-${{ runner.os }}-3.10-${{ env.CURRENT_DATE }} | ||
|
||
test-core-imports: | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
|
||
steps: | ||
- name: Checkout | ||
|
@@ -109,7 +109,7 @@ jobs: | |
run: python aeon/testing/tests/test_core_imports.py | ||
|
||
test-no-soft-deps: | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
|
||
steps: | ||
- name: Checkout | ||
|
@@ -154,7 +154,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ ubuntu-22.04, macOS-14, windows-2022 ] | ||
os: [ ubuntu-24.04, macOS-14, windows-2022 ] | ||
python-version: [ "3.9", "3.10", "3.11", "3.12" ] | ||
|
||
steps: | ||
|
@@ -166,6 +166,12 @@ jobs: | |
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Set swap space | ||
if: runner.os == 'Linux' | ||
uses: pierotofy/[email protected] | ||
with: | ||
swap-size-gb: 10 | ||
|
||
- name: Use numba cache to set env variables but not restore cache | ||
uses: ./.github/actions/numba_cache | ||
with: | ||
|
@@ -195,7 +201,7 @@ jobs: | |
key: numba-pytest-${{ runner.os }}-${{ matrix.python-version}}-${{ env.CURRENT_DATE }} | ||
|
||
codecov: | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
|
||
steps: | ||
- name: Checkout | ||
|
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
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
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
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
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 |
---|---|---|
|
@@ -18,7 +18,7 @@ concurrency: | |
|
||
jobs: | ||
test-no-soft-deps: | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
|
||
steps: | ||
- name: Checkout | ||
|
@@ -29,7 +29,7 @@ jobs: | |
with: | ||
python-version: "3.10" | ||
|
||
- if: ${{ github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'no numba cache') }} | ||
- 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: | ||
|
@@ -56,7 +56,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ ubuntu-22.04, macOS-14, windows-2022 ] | ||
os: [ ubuntu-24.04, macOS-14, windows-2022 ] | ||
python-version: [ "3.9", "3.10", "3.11", "3.12" ] | ||
# skip python versions unless the PR has the 'full pytest actions' label | ||
pr-testing: | ||
|
@@ -74,7 +74,13 @@ jobs: | |
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- if: ${{ github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'no numba cache') }} | ||
- name: Set swap space | ||
if: runner.os == 'Linux' | ||
uses: pierotofy/[email protected] | ||
with: | ||
swap-size-gb: 10 | ||
|
||
- 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: | ||
|
@@ -100,7 +106,7 @@ jobs: | |
# 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-22.04 | ||
runs-on: ubuntu-24.04 | ||
|
||
steps: | ||
- name: Checkout | ||
|
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
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
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ on: | |
|
||
jobs: | ||
check-manifest: | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -23,7 +23,7 @@ jobs: | |
|
||
build-project: | ||
needs: check-manifest | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -51,7 +51,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ ubuntu-22.04, macOS-14, windows-2022 ] | ||
os: [ ubuntu-24.04, macOS-14, windows-2022 ] | ||
python-version: [ "3.9", "3.10", "3.11", "3.12" ] | ||
|
||
steps: | ||
|
@@ -61,6 +61,12 @@ jobs: | |
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Set swap space | ||
if: runner.os == 'Linux' | ||
uses: pierotofy/[email protected] | ||
with: | ||
swap-size-gb: 10 | ||
|
||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: dist | ||
|
@@ -93,7 +99,7 @@ jobs: | |
|
||
upload-wheels: | ||
needs: test-wheels | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
|
||
steps: | ||
- uses: actions/download-artifact@v4 | ||
|
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
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
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ python: | |
- docs | ||
|
||
build: | ||
os: ubuntu-22.04 | ||
os: ubuntu-24.04 | ||
tools: | ||
python: "3.10" | ||
|
||
|