Skip to content

Commit eff4c5a

Browse files
authored
Merge pull request #43 from mukilan/add-uv-install-step
add uv install step to run-wpt worflow
2 parents 7aa2f20 + 9148a46 commit eff4c5a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/run-wpt.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,14 @@ jobs:
2828
with:
2929
repository: servo/servo
3030
path: servo
31+
- name: Install Python
32+
uses: actions/setup-python@v5
33+
with:
34+
python-version: '3.12' # Make sure this is the same as .python-version in servo repo
35+
- name: Install uv
36+
uses: astral-sh/setup-uv@v4
3137
- name: Prep test environment
3238
run: |
33-
python3 -m pip install --upgrade pip virtualenv
3439
sudo apt update
3540
sudo apt install -qy --no-install-recommends mesa-vulkan-drivers
3641
- name: Download latest nightly
@@ -48,7 +53,7 @@ jobs:
4853
working-directory: servo
4954
- name: Run tests
5055
run: |
51-
python3 ./mach test-wpt \
56+
./mach test-wpt \
5257
--release ${WPT_LAYOUT_FLAG} \
5358
--log-wptreport=wpt-report-${{ matrix.chunk_id }}.json \
5459
--processes $(nproc) --timeout-multiplier 2 \

0 commit comments

Comments
 (0)