aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/mac-wpt.yml5
-rw-r--r--.github/workflows/mac.yml5
2 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/mac-wpt.yml b/.github/workflows/mac-wpt.yml
index 9e0e5da91c5..74a1e1439fe 100644
--- a/.github/workflows/mac-wpt.yml
+++ b/.github/workflows/mac-wpt.yml
@@ -41,6 +41,11 @@ jobs:
- uses: actions/download-artifact@v4
with:
name: ${{ inputs.profile }}-binary-macos
+ # Python 3.13 breaks wptrunner, so pin the version until
+ # web-platform-tests/wpt#48585 is fixed.
+ - uses: actions/setup-python@v5
+ with:
+ python-version: '3.12'
- name: Prep test environment
run: |
gtar -xzf target.tar.gz
diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml
index fa67139a107..cf9939efe4e 100644
--- a/.github/workflows/mac.yml
+++ b/.github/workflows/mac.yml
@@ -77,6 +77,11 @@ jobs:
if: github.event_name == 'pull_request_target'
with:
ref: ${{ github.event.pull_request.head.sha }}
+ # Python 3.13 breaks wptrunner, so pin the version until
+ # web-platform-tests/wpt#48585 is fixed.
+ - uses: actions/setup-python@v5
+ with:
+ python-version: '3.12'
- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.6
- name: Install crown