Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 16 additions & 5 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -332,11 +332,22 @@ jobs:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

- name: "Set up Python and activate virtual environment"
uses: ./.github/workflows/setup-python/
with:
container-sha: ${{ needs.test-container-info.outputs.sha }}
python-version: ${{ matrix.python-version }}

run: |
apt-get update
apt-get install git curl -y
curl -LsSf https://astral.sh/uv/install.sh | sh
export PATH="$HOME/.local/bin:$PATH"
echo "PATH=$HOME/.local/bin:$PATH" >> $GITHUB_ENV
uv python install ${{ matrix.python-version }}
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
/env/bin/python3.11 get-pip.py
python${{ matrix.python-version }} -m venv /env
- name: Install pip if missing
run: |
if ! /env/bin/python3.11 -m pip --version; then
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
/env/bin/python3.11 get-pip.py
fi
- name: "Install packages for testing"
run: |
. /env/bin/activate
Expand Down
1 change: 1 addition & 0 deletions doc/changelog.d/1343.test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Uv python install
Loading