Configured GitHub Actions workflows to use pytest instead of unittest for running tests on Ubuntu and Windows.

This commit is contained in:
Paul Gauthier 2024-07-12 07:30:20 +01:00 committed by Paul Gauthier (aider)
parent b8c4d1dcb9
commit ce2673e6eb
2 changed files with 4 additions and 4 deletions

View file

@ -33,8 +33,8 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install . pip install .[test]
- name: Run tests - name: Run tests
run: | run: |
python -m unittest discover -s aider/tests pytest aider/tests

View file

@ -33,8 +33,8 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install . pip install .[test]
- name: Run tests - name: Run tests
run: | run: |
python -m unittest discover -s aider/tests pytest aider/tests