summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorNatalia <124304+nessita@users.noreply.github.com>2025-04-30 15:16:07 -0300
committernessita <124304+nessita@users.noreply.github.com>2025-05-05 11:46:49 -0300
commitf4bd5647019bf4b4dc85dd9f05894e5c0e377e00 (patch)
treea7944b824e95ad93b36e88868235a7797eb22ff9 /.github
parent3456eee4a3a00dc14e72d4f7d6eecc15ed9571e7 (diff)
[4.2.x] Adjusted GitHub Action workflow to test Python versions based off pyproject.toml.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/python_matrix.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/python_matrix.yml b/.github/workflows/python_matrix.yml
index 314d9301b8..ab48c2be83 100644
--- a/.github/workflows/python_matrix.yml
+++ b/.github/workflows/python_matrix.yml
@@ -25,7 +25,7 @@ jobs:
uses: actions/checkout@v4
- id: set-matrix
run: |
- python_versions=$(sed -n "s/^.*Programming Language :: Python :: \([[:digit:]]\+\.[[:digit:]]\+\).*$/'\1', /p" setup.cfg | tr -d '\n' | sed 's/, $//g')
+ python_versions=$(sed -n "s/^.*Programming Language :: Python :: \([[:digit:]]\+\.[[:digit:]]\+\).*$/'\1', /p" pyproject.toml | tr -d '\n' | sed 's/, $//g')
echo "Supported Python versions: $python_versions"
echo "python_versions=[$python_versions]" >> "$GITHUB_OUTPUT"
python: