From f72c1712dc6c5253cd58265012fe79c7ea72151b Mon Sep 17 00:00:00 2001 From: Ivan Pozdeev Date: Mon, 6 Feb 2023 15:38:20 +0300 Subject: [PATCH] CI: Test with native extension Only run tests for subcommands that use the native extension --- .github/workflows/pyenv_tests.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/pyenv_tests.yml b/.github/workflows/pyenv_tests.yml index 5937d86d..0a34ef9c 100644 --- a/.github/workflows/pyenv_tests.yml +++ b/.github/workflows/pyenv_tests.yml @@ -42,3 +42,8 @@ jobs: echo "$PYENV_ROOT/shims:$PYENV_ROOT/bin" >> $GITHUB_PATH - run: | make test + - env: + PYENV_NATIVE_EXT: 1 + run: | + (cd src; ./configure; make) + bats/bin/bats test/{pyenv,hooks,versions}.bats \ No newline at end of file