mirror of
https://github.com/pyenv/pyenv.git
synced 2026-08-03 19:10:34 +09:00
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 6 to 7 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
name: pyenv_tests
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request: {}
|
|
|
|
permissions:
|
|
contents: read # to fetch code (actions/checkout)
|
|
|
|
jobs:
|
|
pyenv_tests:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os:
|
|
- ubuntu-22.04
|
|
- ubuntu-24.04
|
|
- macos-14
|
|
- macos-15
|
|
- macos-15-intel
|
|
- macos-26
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- 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
|
|
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
|