File tree Expand file tree Collapse file tree 2 files changed +22
-3
lines changed
Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change 44 schedule :
55 - cron : ' 0 14 * * *' # 2pm UTC == 9am EST
66jobs :
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
You can’t perform that action at this time.
0 commit comments