Skip to content

Commit ee861b4

Browse files
committed
fix(ci): select all versions in Python migration tests
Change selection from "1" to "all" in all 6 Python migration tests to ensure the correct version is migrated when multiple Python installations are detected on GitHub runners.
1 parent fe29713 commit ee861b4

6 files changed

Lines changed: 12 additions & 6 deletions

.github/workflows/integration-test-migrate-python-macos-pyenv.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ jobs:
4949
- name: "Migrate pyenv Python to dtvem"
5050
run: |
5151
echo "=== Running migrate detection ==="
52-
echo -e "1\n0\nn\n" | ./dist/dtvem migrate python || true
52+
# Select "all" to migrate all detected versions
53+
echo -e "all\n0\nn\n" | ./dist/dtvem migrate python || true
5354
echo ""
5455
echo "=== Verifying migration ==="
5556
./dist/dtvem list python

.github/workflows/integration-test-migrate-python-macos-system.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ jobs:
4444
- name: "Migrate system Python to dtvem"
4545
run: |
4646
echo "=== Running migrate detection ==="
47-
echo -e "1\n0\n" | ./dist/dtvem migrate python || true
47+
# Select "all" to migrate all detected versions
48+
echo -e "all\n0\n" | ./dist/dtvem migrate python || true
4849
echo ""
4950
echo "=== Verifying migration ==="
5051
./dist/dtvem list python

.github/workflows/integration-test-migrate-python-ubuntu-pyenv.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ jobs:
5858
- name: "Migrate pyenv Python to dtvem"
5959
run: |
6060
echo "=== Running migrate detection ==="
61-
echo -e "1\n0\nn\n" | ./dist/dtvem migrate python || true
61+
# Select "all" to migrate all detected versions
62+
echo -e "all\n0\nn\n" | ./dist/dtvem migrate python || true
6263
echo ""
6364
echo "=== Verifying migration ==="
6465
./dist/dtvem list python

.github/workflows/integration-test-migrate-python-ubuntu-system.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ jobs:
4545
- name: "Migrate system Python to dtvem"
4646
run: |
4747
echo "=== Running migrate detection ==="
48-
echo -e "1\n0\n" | ./dist/dtvem migrate python || true
48+
# Select "all" to migrate all detected versions
49+
echo -e "all\n0\n" | ./dist/dtvem migrate python || true
4950
echo ""
5051
echo "=== Verifying migration ==="
5152
./dist/dtvem list python

.github/workflows/integration-test-migrate-python-windows-pyenv.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ jobs:
6161
shell: bash
6262
run: |
6363
echo "=== Running migrate detection ==="
64-
echo -e "1\n0\nn\n" | ./dist/dtvem.exe migrate python || true
64+
# Select "all" to migrate all detected versions
65+
echo -e "all\n0\nn\n" | ./dist/dtvem.exe migrate python || true
6566
echo ""
6667
echo "=== Verifying migration ==="
6768
./dist/dtvem.exe list python

.github/workflows/integration-test-migrate-python-windows-system.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ jobs:
5858
shell: bash
5959
run: |
6060
echo "=== Running migrate detection ==="
61-
echo -e "1\n0\n" | ./dist/dtvem.exe migrate python || true
61+
# Select "all" to migrate all detected versions
62+
echo -e "all\n0\n" | ./dist/dtvem.exe migrate python || true
6263
echo ""
6364
echo "=== Verifying migration ==="
6465
./dist/dtvem.exe list python

0 commit comments

Comments
 (0)