Skip to content

Commit 5beb7df

Browse files
committed
Fix: Update deprecated GitHub Actions to v4
1 parent 590a4e2 commit 5beb7df

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,14 @@ jobs:
2222
with:
2323
python-version: ${{ matrix.python-version }}
2424

25+
- name: Install uv
26+
run: pip install uv
27+
2528
- name: Install dependencies
26-
run: |
27-
python -m pip install --upgrade pip
28-
pip install -r requirements.txt
29+
run: uv sync
2930

3031
- name: Install Playwright browsers
31-
run: playwright install
32+
run: uv run playwright install
3233

3334
- name: Run UI tests
3435
run: pytest tests/ui/ -v --tb=short --html=report-ui.html --self-contained-html
@@ -41,7 +42,7 @@ jobs:
4142

4243
- name: Upload test reports
4344
if: always()
44-
uses: actions/upload-artifact@v3
45+
uses: actions/upload-artifact@v4
4546
with:
4647
name: test-reports-${{ matrix.python-version }}
4748
path: |
@@ -50,7 +51,7 @@ jobs:
5051
5152
- name: Upload screenshots on failure
5253
if: failure()
53-
uses: actions/upload-artifact@v3
54+
uses: actions/upload-artifact@v4
5455
with:
5556
name: screenshots-${{ matrix.python-version }}
5657
path: test-results/screenshots/

0 commit comments

Comments
 (0)