From 31f8fb47d7ca02dad6dfc280d383e9418ff7d531 Mon Sep 17 00:00:00 2001 From: Oliver Holworthy <1216955+oliverholworthy@users.noreply.github.com> Date: Fri, 2 Jun 2023 20:31:20 +0100 Subject: [PATCH] Move package install earlier --- .github/workflows/gpu-tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gpu-tests.yml b/.github/workflows/gpu-tests.yml index d61f248568..43ecd71e7c 100644 --- a/.github/workflows/gpu-tests.yml +++ b/.github/workflows/gpu-tests.yml @@ -24,16 +24,16 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 + - name: Install Ubuntu packages + run: | + apt-get update -y + apt-get install -y build-essential protobuf-compiler git lsb-release - name: Set up Python 3.8 uses: actions/setup-python@v4 with: python-version: 3.8 cache: 'pip' cache-dependency-path: requirements/*.txt - - name: Install Ubuntu packages - run: | - apt-get update -y - apt-get install -y build-essential protobuf-compiler git - name: Install and upgrade python packages run: | python -m pip install --upgrade pip setuptools==59.4.0 wheel tox pybind11