From 6940c6379bffd3967636c6345e856a661c2e7879 Mon Sep 17 00:00:00 2001 From: sabaimran Date: Sun, 8 Dec 2024 11:11:13 -0800 Subject: [PATCH] Add sudo when running installations in order to install relevant packages add --legacy-peer-deps temporarily to see if it helps mitigate the issue --- .github/workflows/run_evals.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run_evals.yml b/.github/workflows/run_evals.yml index a8f4a17e..91f0a721 100644 --- a/.github/workflows/run_evals.yml +++ b/.github/workflows/run_evals.yml @@ -76,12 +76,12 @@ jobs: DEBIAN_FRONTEND: noninteractive run: | # install postgres and other dependencies - apt update && apt install -y git python3-pip libegl1 sqlite3 libsqlite3-dev libsqlite3-0 ffmpeg libsm6 libxext6 - apt install -y postgresql postgresql-client && apt install -y postgresql-server-dev-14 + sudo apt update && sudo apt install -y git python3-pip libegl1 sqlite3 libsqlite3-dev libsqlite3-0 ffmpeg libsm6 libxext6 + sudo apt install -y postgresql postgresql-client && sudo apt install -y postgresql-server-dev-14 # upgrade pip python -m ensurepip --upgrade && python -m pip install --upgrade pip # install terrarium for code sandbox - git clone https://github.com/khoj-ai/terrarium.git && cd terrarium && npm install && mkdir pyodide_cache + git clone https://github.com/khoj-ai/terrarium.git && cd terrarium && npm install --legacy-peer-deps && mkdir pyodide_cache - name: ⬇️ Install Application run: |