Skip to content

Commit f3debe7

Browse files
committed
Minor change
1 parent dd5c78d commit f3debe7

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

.github/workflows/numba-python-compatibility-actions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
get_latest_python_version:
88
runs-on: ubuntu-latest
99
outputs:
10-
latest_python_version: ${{ steps.set-matrix.outputs.latest_python_version }}
10+
latest_python_version: ${{ steps.set-latest.outputs.latest_python_version }}
1111
steps:
1212
- name: Checkout STUMPY
1313
uses: actions/checkout@v4
@@ -18,7 +18,7 @@ jobs:
1818
python -m pip install --upgrade pip pandas lxml packaging
1919
shell: bash
2020
- name: Get Latet Python Version
21-
id: set-matrix
21+
id: set-latest
2222
run: |
2323
echo "latest_python_version=$(python ./versions.py -mode latest)" >> $GITHUB_OUTPUT
2424
shell: bash

.github/workflows/numba-release-candidate-actions.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,34 @@ on:
44
schedule:
55
- cron: '0 14 * * *' # 2pm UTC == 9am EST
66
jobs:
7+
get_safe_python_version:
8+
runs-on: ubuntu-latest
9+
outputs:
10+
latest_python_version: ${{ steps.set-safe.outputs.latest_python_version }}
11+
steps:
12+
- name: Checkout STUMPY
13+
uses: actions/checkout@v4
14+
with:
15+
repository: stumpy-dev/stumpy
16+
- name: Upgrade Pip, Install Minimum Requirements
17+
run: |
18+
python -m pip install --upgrade pip pandas lxml packaging
19+
shell: bash
20+
- name: Get Latet Python Version
21+
id: set-safe
22+
run: |
23+
echo "safe_python_version=$(python ./versions.py -mode safe)" >> $GITHUB_OUTPUT
24+
shell: bash
725
check_numba_release_candidate:
26+
needs: get_safe_python
827
runs-on: ubuntu-latest
928
steps:
1029
- name: Checkout This Repository
1130
uses: actions/checkout@v4
1231
- name: Set Up Python
1332
uses: actions/setup-python@v5
1433
with:
15-
python-version: ${{ '3.12' }}
34+
python-version: ${{ fromJSON(needs.get_safe_python_version.outputs.safe_python_version) }}
1635
- name: Display Python Version
1736
run: python -c "import sys; print(sys.version)"
1837
shell: bash

0 commit comments

Comments
 (0)