From 37e8c49f7a5300eff7adf2d76f02e89236c5ff41 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 4 Jul 2023 14:43:34 -0700 Subject: [PATCH] aider: Added step to install universal ctags using Chocolatey before installing Python dependencies. # Context: USER: we do need to install universal ctags on windows too ASSISTANT: To install universal ctags on Windows, we need to modify the `windows-tests.yml` file. However, universal ctags is not available in the standard repositories used by GitHub Actions' Windows environment. We can use Chocolatey, a package manager for Windows, to install universal ctags. Here are the changes: ```yaml .github/workflows/windows-tests.yml <<<<<<< ORIGINAL - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt ======= - name: Install universal ctags run: | choco install universal-ctags - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt >>>>>>> UPDATED ``` This adds a new step to the workflow to install universal ctags using Chocolatey before installing the Python dependencies. --- .github/workflows/windows-tests.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/windows-tests.yml b/.github/workflows/windows-tests.yml index 1165c14c1..fc9e3eb0b 100644 --- a/.github/workflows/windows-tests.yml +++ b/.github/workflows/windows-tests.yml @@ -24,6 +24,10 @@ jobs: with: python-version: ${{ matrix.python-version }} + - name: Install universal ctags + run: | + choco install universal-ctags + - name: Install dependencies run: | python -m pip install --upgrade pip