Skip to content

Commit d1fd476

Browse files
committed
add python setup action
1 parent 2b1ca59 commit d1fd476

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/ci_cd.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,15 @@ jobs:
5757
uses: actions/checkout@v5
5858

5959
- name: Set up Python
60-
shell: bash
61-
run: |
62-
apt update
63-
apt install lsb-release xvfb git curl make -y
64-
curl -LsSf https://astral.sh/uv/install.sh | sh
65-
export PATH="$HOME/.local/bin:$PATH"
66-
uv python install python${{ env.MAIN_PYTHON_VERSION }}
67-
uv venv /env
60+
uses: actions/setup-python@v5
61+
with:
62+
python-version: ${{ env.MAIN_PYTHON_VERSION }}
6863
- name: Install Python requirements
6964
run: |
65+
python -m venv /env
7066
. /env/bin/activate
71-
uv pip install --upgrade pip
72-
uv pip install -r requirements/requirements_doc.txt
67+
pip install --upgrade pip
68+
pip install -r requirements/requirements_doc.txt
7369
7470
- name: Build docs
7571
env:

0 commit comments

Comments
 (0)