File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 2323 virtualenvs-in-project : true
2424 installer-parallel : true
2525 virtualenvs-path : .venv
26- - name : Load cached venv
27- id : cached-poetry-dependencies
28- uses : actions/cache@v4
29- with :
30- path : .venv
31- key : venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
3226 - name : Install Dependencies
3327 run : poetry install --no-interaction --no-root
3428 - name : Install Playwright Browsers
3731 run : |
3832 source .venv/bin/activate
3933 xvfb-run pytest -m devRun --base-url ${{ vars.BASE_URL }}
34+ - name : Cache dependencies if tests pass
35+ if : success()
36+ uses : actions/cache/save@v4
37+ with :
38+ path : .venv
39+ key : venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
4040 - name : Auto-assign reviewers
4141 uses : kentaro-m/auto-assign-action@v2.0.0
4242 if : success()
You can’t perform that action at this time.
0 commit comments