1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-18 16:47:04 -05:00

add bats test under docker

This commit is contained in:
rockandska
2025-09-08 15:39:35 +02:00
committed by Tester
parent 92a28e531b
commit a7897ca0f6
3 changed files with 116 additions and 8 deletions

View File

@@ -40,10 +40,15 @@ jobs:
run: |
echo $PYENV_ROOT
echo "$PYENV_ROOT/shims:$PYENV_ROOT/bin" >> $GITHUB_PATH
- run: |
- 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
bats/bin/bats test/{pyenv,hooks,versions}.bats