Skip to content

Commit

Permalink
CI/CD: Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
tristiisch committed Mar 25, 2024
1 parent 1966d8d commit 7237ac0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7237ac0

Please sign in to comment.