From ce2673e6eb1ef621268f2352efeded06bc9b9919 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 12 Jul 2024 07:30:20 +0100 Subject: [PATCH] Configured GitHub Actions workflows to use pytest instead of unittest for running tests on Ubuntu and Windows. --- .github/workflows/ubuntu-tests.yml | 4 ++-- .github/workflows/windows-tests.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ubuntu-tests.yml b/.github/workflows/ubuntu-tests.yml index 96f59e2b3..d21a7e906 100644 --- a/.github/workflows/ubuntu-tests.yml +++ b/.github/workflows/ubuntu-tests.yml @@ -33,8 +33,8 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install . + pip install .[test] - name: Run tests run: | - python -m unittest discover -s aider/tests + pytest aider/tests diff --git a/.github/workflows/windows-tests.yml b/.github/workflows/windows-tests.yml index 3584e6ed1..be4380ccb 100644 --- a/.github/workflows/windows-tests.yml +++ b/.github/workflows/windows-tests.yml @@ -33,8 +33,8 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install . + pip install .[test] - name: Run tests run: | - python -m unittest discover -s aider/tests + pytest aider/tests