Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/venv.yml
Original file line number Diff line number Diff line change
@@ -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