We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c26c285 commit 2ea3eb7Copy full SHA for 2ea3eb7
.github/workflows/pytest-core-nompi.yml
@@ -169,8 +169,8 @@ jobs:
169
- name: Check Docker image Python version
170
if: "contains(matrix.name, 'docker')"
171
run: |
172
- declared_pyver="${{ matrix.pyver }}"
173
- actual_pyver=$(${{ env.RUN_CMD }} python3 --version | cut -d' ' -f2 | cut -d'.' -f1,2)
+ declared_pyver="${{ matrix.python-version }}"
+ actual_pyver=$(${{ env.RUN_CMD }} python3 --version | grep "Python " | cut -d' ' -f2 | cut -d'.' -f1,2)
174
echo "Declared Python version: $declared_pyver"
175
echo "Actual Python version: $actual_pyver"
176
if [ "$declared_pyver" != "$actual_pyver" ]; then
0 commit comments