diff --git a/.github/workflows/backend-app.yml b/.github/workflows/backend-app.yml index 33bc943..4ac187b 100644 --- a/.github/workflows/backend-app.yml +++ b/.github/workflows/backend-app.yml @@ -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 }}