From 67030c0886bf1d9fdcc9ea10c0312cb8a7b3e049 Mon Sep 17 00:00:00 2001 From: Oliver Holworthy <1216955+oliverholworthy@users.noreply.github.com> Date: Fri, 2 Jun 2023 17:27:44 +0100 Subject: [PATCH] Setup python --- .github/workflows/gpu-tests.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/gpu-tests.yml b/.github/workflows/gpu-tests.yml index 72327cc819..9919240a82 100644 --- a/.github/workflows/gpu-tests.yml +++ b/.github/workflows/gpu-tests.yml @@ -24,6 +24,19 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 + - name: Set up Python 3.8 + uses: actions/setup-python@v4 + with: + python-version: 3.8 + - name: Install Ubuntu packages + run: | + sudo apt-get update -y + sudo apt-get install -y protobuf-compiler + - name: Install and upgrade python packages + run: | + python -m pip install --upgrade pip setuptools==59.4.0 wheel tox pybind11 + python -m pip uninstall protobuf -y + python -m pip install --no-binary=protobuf protobuf - name: Get Branch name id: get-branch-name uses: NVIDIA-Merlin/.github/actions/branch-name@main