From 37ebe83893387615b8738653bbf9fe3faf62fb33 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 12 Jul 2024 07:31:21 +0100 Subject: [PATCH] run tests without [hf-embed] first --- .github/workflows/ubuntu-tests.yml | 3 ++- .github/workflows/windows-tests.yml | 4 +++- aider/tests/test_help.py | 3 +++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ubuntu-tests.yml b/.github/workflows/ubuntu-tests.yml index 903e807e3..2c2dbf537 100644 --- a/.github/workflows/ubuntu-tests.yml +++ b/.github/workflows/ubuntu-tests.yml @@ -37,4 +37,5 @@ jobs: - name: Run tests run: | - pytest + pytest --ignore=aider/tests/test_help.py + pytest aider/tests/test_help.py diff --git a/.github/workflows/windows-tests.yml b/.github/workflows/windows-tests.yml index 6948b52b3..15ac69689 100644 --- a/.github/workflows/windows-tests.yml +++ b/.github/workflows/windows-tests.yml @@ -37,4 +37,6 @@ jobs: - name: Run tests run: | - pytest + pytest --ignore=aider/tests/test_help.py + pytest aider/tests/test_help.py + diff --git a/aider/tests/test_help.py b/aider/tests/test_help.py index 99113d61c..102160b84 100644 --- a/aider/tests/test_help.py +++ b/aider/tests/test_help.py @@ -4,6 +4,9 @@ from aider.help import Help class TestHelp(unittest.TestCase): + def setUp(self): + Help(pip_install=True) + def test_init(self): help_inst = Help() self.assertIsNotNone(help_inst.retriever)