From fe4c753169dc637d08ddd10446b9ce9bc6b59578 Mon Sep 17 00:00:00 2001 From: dkunhamb Date: Fri, 10 Oct 2025 11:27:29 -0500 Subject: [PATCH] add python setup action --- .github/workflows/ci_cd.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 2bdfc0d1..a8108a28 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -57,19 +57,15 @@ jobs: uses: actions/checkout@v5 - name: Set up Python - shell: bash - run: | - apt update - apt install lsb-release xvfb git curl make -y - curl -LsSf https://astral.sh/uv/install.sh | sh - export PATH="$HOME/.local/bin:$PATH" - uv python install python${{ env.MAIN_PYTHON_VERSION }} - uv venv /env + uses: actions/setup-python@v5 + with: + python-version: ${{ env.MAIN_PYTHON_VERSION }} - name: Install Python requirements run: | + python${{ env.MAIN_PYTHON_VERSION }} -m venv /env . /env/bin/activate - uv pip install --upgrade pip - uv pip install -r requirements/requirements_doc.txt + pip install --upgrade pip + pip install -r requirements/requirements_doc.txt - name: Build docs env: