Skip to content

Commit 2ea3eb7

Browse files
committed
ci: Oops
1 parent c26c285 commit 2ea3eb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pytest-core-nompi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ jobs:
169169
- name: Check Docker image Python version
170170
if: "contains(matrix.name, 'docker')"
171171
run: |
172-
declared_pyver="${{ matrix.pyver }}"
173-
actual_pyver=$(${{ env.RUN_CMD }} python3 --version | cut -d' ' -f2 | cut -d'.' -f1,2)
172+
declared_pyver="${{ matrix.python-version }}"
173+
actual_pyver=$(${{ env.RUN_CMD }} python3 --version | grep "Python " | cut -d' ' -f2 | cut -d'.' -f1,2)
174174
echo "Declared Python version: $declared_pyver"
175175
echo "Actual Python version: $actual_pyver"
176176
if [ "$declared_pyver" != "$actual_pyver" ]; then

0 commit comments

Comments
 (0)