Skip to content

Commit f4bd564

Browse files
committed
[4.2.x] Adjusted GitHub Action workflow to test Python versions based off pyproject.toml.
1 parent 3456eee commit f4bd564

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/python_matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: actions/checkout@v4
2626
- id: set-matrix
2727
run: |
28-
python_versions=$(sed -n "s/^.*Programming Language :: Python :: \([[:digit:]]\+\.[[:digit:]]\+\).*$/'\1', /p" setup.cfg | tr -d '\n' | sed 's/, $//g')
28+
python_versions=$(sed -n "s/^.*Programming Language :: Python :: \([[:digit:]]\+\.[[:digit:]]\+\).*$/'\1', /p" pyproject.toml | tr -d '\n' | sed 's/, $//g')
2929
echo "Supported Python versions: $python_versions"
3030
echo "python_versions=[$python_versions]" >> "$GITHUB_OUTPUT"
3131
python:

0 commit comments

Comments
 (0)