CI: Test with native extension

Only run tests for subcommands that use the native extension
This commit is contained in:
Ivan Pozdeev 2023-02-06 15:38:20 +03:00
parent a7b181c3ca
commit f72c1712dc

View file

@ -42,3 +42,8 @@ jobs:
echo "$PYENV_ROOT/shims:$PYENV_ROOT/bin" >> $GITHUB_PATH echo "$PYENV_ROOT/shims:$PYENV_ROOT/bin" >> $GITHUB_PATH
- run: | - run: |
make test make test
- env:
PYENV_NATIVE_EXT: 1
run: |
(cd src; ./configure; make)
bats/bin/bats test/{pyenv,hooks,versions}.bats