File tree Expand file tree Collapse file tree 2 files changed +19
-7
lines changed
Expand file tree Collapse file tree 2 files changed +19
-7
lines changed Original file line number Diff line number Diff line change @@ -23,21 +23,20 @@ jobs:
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
33- if : steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
3427 run : poetry install --no-interaction --no-root
3528 - name : Install Playwright Browsers
3629 run : npx playwright install --with-deps
3730 - name : Test with pytest
3831 run : |
3932 source .venv/bin/activate
4033 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') }}
4140 - name : Auto-assign reviewers
4241 uses : kentaro-m/auto-assign-action@v2.0.0
4342 if : success()
Original file line number Diff line number Diff line change 33 "extends" : [
44 " config:recommended"
55 ],
6+ "packageRules" : [
7+ {
8+ "groupName" : " all pre-commit updates" ,
9+ "managers" : [
10+ " pre-commit"
11+ ],
12+ "matchUpdateTypes" : [
13+ " major" ,
14+ " minor" ,
15+ " patch"
16+ ]
17+ }
18+ ],
619 "pre-commit" : {
720 "enabled" : true
821 },
You can’t perform that action at this time.
0 commit comments