From dcf96896efb72f9e5900b7591f67168056910f7c Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Sat, 17 Aug 2024 05:10:05 -0400 Subject: [PATCH] chore: Update coverage test workflow to install dependencies from requirements.txt --- .github/workflows/coverage_test.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage_test.yml b/.github/workflows/coverage_test.yml index 50b3ab640..82e82c23f 100644 --- a/.github/workflows/coverage_test.yml +++ b/.github/workflows/coverage_test.yml @@ -20,9 +20,12 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 - + - name: Install dependencies - run: pip install pytest pytest-cov pytest-asyncio + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + pip install pytest pytest-cov pytest-asyncio - name: Run tests run: PYTHONPATH=./ pytest --cov=. tests/ -v