Skip to content

Commit d96847d

Browse files
Nir.TalNir.Tal
authored andcommitted
fix: consolidate pre commit
1 parent f73e158 commit d96847d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/devRun.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@ 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
3327
run: poetry install --no-interaction --no-root
3428
- name: Install Playwright Browsers
@@ -37,6 +31,12 @@ jobs:
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()

0 commit comments

Comments
 (0)