Skip to content

Commit 0e1010e

Browse files
committed
Minor change
1 parent 68b0516 commit 0e1010e

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

.github/workflows/check-pypi-wheels-actions.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,33 @@ on:
44
schedule:
55
- cron: '0 14 * * *' # 2pm UTC == 9am EST
66
jobs:
7+
generate_python_matrix:
8+
runs-on: ubuntu-latest
9+
outputs:
10+
python_versions: ${{ steps.set-matrix.outputs.python_versions }}
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
19+
shell: bash
20+
- name: Generate Python versions
21+
id: set-matrix
22+
run: |
23+
MIN_PYTHON=$(python ./versions.py -mode min | grep python | awk '{print $2}')
24+
MAX_PYTHON=$(python ./versions.py -mode max | grep python | awk '{print $2}')
25+
echo "python_versions=$(python ./versions.py -mode range $MIN_PYTHON $MAX_PYTHON)" >> $GITHUB_OUTPUT
26+
shell: bash
727
check_pypi_wheels:
28+
needs: generate_python_matrix
829
runs-on: ${{ matrix.os }}
930
strategy:
1031
matrix:
1132
os: [ubuntu-latest, macos-latest, windows-latest]
12-
python-version: ['3.10', '3.11', '3.12', '3.13']
33+
python-version: ${{ fromJSON(needs.generate_python_matrix.outputs.python_versions) }}
1334
steps:
1435
- uses: actions/checkout@v4
1536
- name: Set Up Python

0 commit comments

Comments
 (0)