Skip to content

Update CI

Update CI #461

Workflow file for this run

name: Run unit tests
on:
push:
pull_request:
jobs:
pytest:
runs-on: ubuntu-24.04
steps:
- name: checkout
uses: actions/checkout@v6
- name: Set up Python
uses: LizardByte/actions/actions/setup_python@v2026.227.200013
with:
python-version: |
'3.6.15'
'3.12.13'
- name: Make XCP-ng python versions globally available
run: |
sudo ln -s $(pyenv root)/versions/3.6.15/bin/python3.6 /usr/bin/
# The following line is not needed as long as ubuntu 24.04 is used
# sudo ln -s $(pyenv root)/versions/3.12.13/bin/python3.12 /usr/bin/
- name: Install Environment manager
run: pip install wox
- name: Run unit tests
run: wox