mirror of
https://github.com/Aider-AI/aider
synced 2026-05-12 18:06:22 +02:00
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.
This commit is contained in:
5
.github/workflows/python-tests.yml
vendored
5
.github/workflows/python-tests.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user