From a84f93b9e4c42e6596465bef75a81838ad4330ee Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sat, 27 May 2023 14:16:41 -0700 Subject: [PATCH] aider: Added step to install "universal ctags" before installing Python dependencies. # Context: USER: i need to install the "universal ctags" binary in ubuntu before i run tests ASSISTANT: To install the "universal ctags" binary in Ubuntu before running tests, you can add a new step in the `.github/workflows/python-tests.yml` file. ```yaml .github/workflows/python-tests.yml <<<<<<< ORIGINAL - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt ======= - name: Install universal ctags run: | sudo apt-get update sudo apt-get install -y universal-ctags - name: Install dependencies run: | python ^C KeyboardInterrupt USER: sorry, do that again ASSISTANT: Sure, here's the updated step to install "universal ctags" in the `.github/workflows/python-tests.yml` file. ```yaml .github/workflows/python-tests.yml <<<<<<< ORIGINAL - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt ======= - name: Install universal ctags run: | sudo apt-get update sudo apt-get install -y universal-ctags - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt >>>>>>> UPDATED ``` This change adds a new step to install "universal ctags" before installing the Python dependencies. --- .github/workflows/python-tests.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 6d8633208..3d56d3942 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -24,6 +24,11 @@ jobs: with: python-version: ${{ matrix.python-version }} + - name: Install universal ctags + run: | + sudo apt-get update + sudo apt-get install -y universal-ctags + - name: Install dependencies run: | python -m pip install --upgrade pip