From 7237ac056dcfc748341a423cca9a2b7b7f6a3905 Mon Sep 17 00:00:00 2001 From: Tristiisch Date: Mon, 25 Mar 2024 22:47:31 +0100 Subject: [PATCH] CI/CD: Fix unit test --- .github/workflows/python.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 8444cb2..4d4abb5 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -106,16 +106,17 @@ jobs: uses: actions/cache@v4 with: path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} + key: ${{ runner.os }}-pip-test-${{ hashFiles('**/requirements.txt') }} restore-keys: | + - ${{ runner.os }}-pip-test-${{ hashFiles('**/requirements.txt') }} - ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} - ${{ runner.os }}-pip - lookup-only: true - name: Install dependencies run: | python -m pip install --upgrade pip if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + pip install pytest-cov - name: Units tests env: