diff --git a/.github/workflows/venv.yml b/.github/workflows/venv.yml new file mode 100644 index 0000000..a9d5070 --- /dev/null +++ b/.github/workflows/venv.yml @@ -0,0 +1,36 @@ +name: Test venv on all supported Python versions + +on: + push: + branches: [ master ] + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ] + + steps: + - name: Checkout the repository + uses: actions/checkout@v4 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + + - name: Set up Vim + run: | + sudo apt-get update + sudo apt-get install --yes vim + + - name: Set up virtual environment + run: | + export VIM_VIRTUALENV_TARGET="$(mktemp --directory)" + echo "${VIM_VIRTUALENV_TARGET}" + python -m venv "${VIM_VIRTUALENV_TARGET}" + ls -la "${VIM_VIRTUALENV_TARGET}" + env