run
All checks were successful
CI / test (push) Successful in 19s

This commit is contained in:
2026-05-04 05:24:14 +02:00
parent 69d2bdd661
commit 05adbf7cc9

View File

@@ -59,14 +59,10 @@ jobs:
- name: Ensure Python and pip are available - name: Ensure Python and pip are available
run: | run: |
if command -v python3 >/dev/null 2>&1 && python3 -m pip --version >/dev/null 2>&1; then
python3 --version
exit 0
fi
if command -v apt-get >/dev/null 2>&1; then if command -v apt-get >/dev/null 2>&1; then
apt-get update apt-get update
apt-get install -y python3 python3-pip python3-venv apt-get install -y python3.12 python3.12-venv python3-pip || \
apt-get install -y python3 python3-pip python3-venv
elif command -v dnf >/dev/null 2>&1; then elif command -v dnf >/dev/null 2>&1; then
dnf install -y python3 python3-pip dnf install -y python3 python3-pip
elif command -v yum >/dev/null 2>&1; then elif command -v yum >/dev/null 2>&1; then
@@ -76,11 +72,11 @@ jobs:
exit 1 exit 1
fi fi
python3 --version python3.12 --version || python3 --version
- name: Install package and dev dependencies - name: Install package and dev dependencies
run: | run: |
python3 -m venv .venv python3.12 -m venv .venv 2>/dev/null || python3 -m venv .venv
. .venv/bin/activate . .venv/bin/activate
python -m pip install --upgrade pip python -m pip install --upgrade pip
python -m pip install -e .[dev] python -m pip install -e .[dev]