fix(ci): install Python 3.11 from deadsnakes PPA
Some checks failed
CI/CD Pipeline / Code Quality Checks (push) Failing after 1m55s
CI/CD Pipeline / Run Tests (push) Successful in 1m56s
CI/CD Pipeline / Build Docker Images (push) Has been skipped
CI/CD Pipeline / Push to Gitea Registry (push) Has been skipped

This commit is contained in:
2026-02-02 12:54:12 +01:00
parent 5da87c40f7
commit bb34c194f8

View File

@@ -7,7 +7,7 @@ on:
branches: [ main, develop, dev ]
env:
PYTHON_VERSION: "3"
PYTHON_VERSION: "3.11"
jobs:
lint:
@@ -23,14 +23,16 @@ jobs:
- name: Install Python and uv
run: |
apt-get update && apt-get install -y python3 python3-venv
apt-get update && apt-get install -y software-properties-common
add-apt-repository -y ppa:deadsnakes/ppa
apt-get update && apt-get install -y python3.11 python3.11-venv
curl -LsSf https://astral.sh/uv/install.sh | sh
export PATH="$HOME/.local/bin:$PATH"
- name: Create virtual environment and install dependencies
run: |
export PATH="$HOME/.local/bin:$PATH"
uv venv
uv venv --python python3.11
source .venv/bin/activate
uv sync --dev
@@ -59,14 +61,16 @@ jobs:
- name: Install Python and uv
run: |
apt-get update && apt-get install -y python3 python3-venv
apt-get update && apt-get install -y software-properties-common
add-apt-repository -y ppa:deadsnakes/ppa
apt-get update && apt-get install -y python3.11 python3.11-venv
curl -LsSf https://astral.sh/uv/install.sh | sh
export PATH="$HOME/.local/bin:$PATH"
- name: Create virtual environment and install dependencies
run: |
export PATH="$HOME/.local/bin:$PATH"
uv venv
uv venv --python python3.11
source .venv/bin/activate
uv sync --dev