Skip to content

Commit 6fbf5ba

Browse files
committed
Add version check logging
1 parent 2c51143 commit 6fbf5ba

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ jobs:
171171
run: |
172172
declared_pyver="${{ matrix.pyver }}"
173173
actual_pyver=$(${{ env.RUN_CMD }} python3 --version | cut -d' ' -f2 | cut -d'.' -f1,2)
174+
echo "Declared Python version: $declared_pyver"
175+
echo "Actual Python version: $actual_pyver"
174176
if [ "$declared_pyver" != "$actual_pyver" ]; then
175177
echo "Python version mismatch: declared $declared_pyver, image has $actual_pyver"
176178
exit 1

.github/workflows/tutorials.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ jobs:
9494
run: |
9595
declared_pyver="${{ matrix.pyver }}"
9696
actual_pyver=$(${{ env.RUN_CMD }} python3 --version | cut -d' ' -f2 | cut -d'.' -f1,2)
97+
echo "Declared Python version: $declared_pyver"
98+
echo "Actual Python version: $actual_pyver"
9799
if [ "$declared_pyver" != "$actual_pyver" ]; then
98100
echo "Python version mismatch: declared $declared_pyver, image has $actual_pyver"
99101
exit 1

0 commit comments

Comments
 (0)