From 2bcc7d8fc4fab60e9fd482184163bb75a31125c1 Mon Sep 17 00:00:00 2001 From: Ivan Pozdeev Date: Wed, 12 Aug 2026 15:14:46 +0300 Subject: [PATCH 1/3] Add ubuntu ARM images --- .github/workflows/modified_scripts_build.yml | 2 ++ .github/workflows/pyenv_tests.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/modified_scripts_build.yml b/.github/workflows/modified_scripts_build.yml index 900f927f..13eb99e9 100644 --- a/.github/workflows/modified_scripts_build.yml +++ b/.github/workflows/modified_scripts_build.yml @@ -207,7 +207,9 @@ jobs: python-version: ${{fromJson(needs.discover_modified_scripts.outputs.versions)}} os: - ubuntu-22.04 + - ubuntu-22.04-arm - ubuntu-24.04 + - ubuntu-24.04-arm runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v7 diff --git a/.github/workflows/pyenv_tests.yml b/.github/workflows/pyenv_tests.yml index ece8d2cc..5b1e324c 100644 --- a/.github/workflows/pyenv_tests.yml +++ b/.github/workflows/pyenv_tests.yml @@ -14,7 +14,9 @@ jobs: matrix: os: - ubuntu-22.04 + - ubuntu-22.04-arm - ubuntu-24.04 + - ubuntu-24.04-arm - macos-14 - macos-15 - macos-15-intel From 0fc5dfe630ba53a8d3a1e24ac30a91225ec17fc7 Mon Sep 17 00:00:00 2001 From: Ivan Pozdeev Date: Wed, 12 Aug 2026 15:17:07 +0300 Subject: [PATCH 2/3] refactor --- .github/workflows/modified_scripts_build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/modified_scripts_build.yml b/.github/workflows/modified_scripts_build.yml index 13eb99e9..a3535930 100644 --- a/.github/workflows/modified_scripts_build.yml +++ b/.github/workflows/modified_scripts_build.yml @@ -272,8 +272,7 @@ jobs: fail-fast: false matrix: python-version: ${{fromJson(needs.discover_modified_scripts.outputs.versions_cpython_only)}} - os: ["ubuntu-latest"] - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 - run: | From f11926a27496071001e34a342a647a6422ab8d70 Mon Sep 17 00:00:00 2001 From: Ivan Pozdeev Date: Wed, 12 Aug 2026 17:40:53 +0300 Subject: [PATCH 3/3] Run Docker tests separately --- .github/workflows/pyenv_tests.yml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/pyenv_tests.yml b/.github/workflows/pyenv_tests.yml index 5b1e324c..d4043ced 100644 --- a/.github/workflows/pyenv_tests.yml +++ b/.github/workflows/pyenv_tests.yml @@ -24,25 +24,22 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v7 - - run: | + - name: Install prerequisites + run: | if test "$RUNNER_OS" == "macOS"; then brew install coreutils fish fi - - run: pwd - - env: - PYENV_ROOT: /home/runner/work/pyenv/pyenv - run: | - echo $PYENV_ROOT - echo "$PYENV_ROOT/shims:$PYENV_ROOT/bin" >> $GITHUB_PATH - - name: Run test on the host + - name: Run tests run: | make test - - name: Run test with docker - if: ${{ ! contains(matrix.os, 'macos') }} - run: | - make test-docker - env: PYENV_NATIVE_EXT: 1 run: | (cd src; ./configure; make) bats/bin/bats test/{pyenv,hooks,versions}.bats + pyenv_tests_docker: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + - run: | + make test-docker