Skip to content

Commit

Permalink
add caching to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Quantisan committed Sep 12, 2023
1 parent f11c8a5 commit f3808f9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/backend-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ jobs:
run: |
python -m pip install --upgrade -r requirements/dev.txt
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('backend/requirements/*.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Test with pytest
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
Expand Down

0 comments on commit f3808f9

Please sign in to comment.