mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 03:05:00 +00:00
run tests without [hf-embed] first
This commit is contained in:
parent
48b3076e65
commit
37ebe83893
3 changed files with 8 additions and 2 deletions
3
.github/workflows/ubuntu-tests.yml
vendored
3
.github/workflows/ubuntu-tests.yml
vendored
|
@ -37,4 +37,5 @@ jobs:
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
pytest
|
pytest --ignore=aider/tests/test_help.py
|
||||||
|
pytest aider/tests/test_help.py
|
||||||
|
|
4
.github/workflows/windows-tests.yml
vendored
4
.github/workflows/windows-tests.yml
vendored
|
@ -37,4 +37,6 @@ jobs:
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
pytest
|
pytest --ignore=aider/tests/test_help.py
|
||||||
|
pytest aider/tests/test_help.py
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,9 @@ from aider.help import Help
|
||||||
|
|
||||||
|
|
||||||
class TestHelp(unittest.TestCase):
|
class TestHelp(unittest.TestCase):
|
||||||
|
def setUp(self):
|
||||||
|
Help(pip_install=True)
|
||||||
|
|
||||||
def test_init(self):
|
def test_init(self):
|
||||||
help_inst = Help()
|
help_inst = Help()
|
||||||
self.assertIsNotNone(help_inst.retriever)
|
self.assertIsNotNone(help_inst.retriever)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue