ci: move setup to action and add format ci step
Full CI / lint (push) Successful in 2s
Full CI / test (3.11) (push) Successful in 24s
Full CI / test (3.12) (push) Successful in 27s
Full CI / test (3.13) (push) Successful in 24s

This commit is contained in:
2026-07-02 13:03:47 +02:00
parent dc6218e45f
commit b744925409
+32
View File
@@ -0,0 +1,32 @@
name: "Install"
description: "Setup system and python environment and install repo"
inputs:
python_version:
required: false
default: "3.12"
description: "Python version to use"
runs:
using: "composite"
steps:
- name: Install Libraries
shell: bash
run: |
sudo apt-get update
sudo apt-get install -y libgl1 libegl1
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Checkout code
uses: actions/checkout@v5
- name: Install repo
shell: bash
run: |
pip install uv
uv venv
source .venv/bin/activate
uv pip install -e .[test]