Skip to content

Commit

Permalink
Merge branch 'trunk' into add/wpcomsh-wpcloud-testing
Browse files Browse the repository at this point in the history
  • Loading branch information
zinigor committed Oct 23, 2024
2 parents a3a5533 + c3e2ec5 commit 8b74cdf
Show file tree
Hide file tree
Showing 747 changed files with 10,526 additions and 10,609 deletions.
6 changes: 5 additions & 1 deletion .github/files/generate-ci-matrix.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
// {string} Name for the job. Required, and must be unique.
'name' => null,

// {string} Runner name as found in https://github.com/actions/runner-images/.
'runner' => 'ubuntu-latest',

// {string} Composer script for the job. Required.
'script' => null,

Expand Down Expand Up @@ -68,9 +71,10 @@
);
}

// TODO: When WordPress 6.5 is no longer supported, this can be removed.
// TODO: When WordPress 6.5 is no longer supported, this can be removed. Runs too slow on ubuntu-24.04 (ubuntu-latest).
$matrix[] = array(
'name' => 'PHP tests: PHP 7.0 WP previous',
'runner' => 'ubuntu-22.04',
'script' => 'test-php',
'php' => '7.0',
'wp' => 'previous',
Expand Down
2 changes: 1 addition & 1 deletion .github/files/gh-autorelease/files/autorelease.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ elif [[ "$GITHUB_REF" == "refs/heads/trunk" ]]; then
fi
ROLLING_MODE=true
CURRENT_VER=$( sed -nEe 's/^## \[?([^]]*)\]? - .*/\1/;T;p;q' CHANGELOG.md || true )
GIT_SUFFIX=$( git log -1 --format=%h . )
GIT_SUFFIX=$( git log -1 --format="%ct.g%h" . )
TAG="$CURRENT_VER+rolling.$GIT_SUFFIX"
else
echo "::error::Expected GITHUB_REF like \`refs/tags/v1.2.3\` or \`refs/tags/1.2.3\` or \`refs/heads/trunk\` for rolling releases, got \`$GITHUB_REF\`"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/block-performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
npx playwright install chromium --with-deps
npm run build:packages
- name: Setup tools for J
- name: Setup tools for Jetpack
uses: ./.github/actions/tool-setup

- name: Build Production Jetpack
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run-tests:
name: ${{ matrix.name }}
runs-on: ubuntu-latest
runs-on: ${{ matrix.runner }}
needs: create-matrix
services:
database:
Expand Down
Loading

0 comments on commit 8b74cdf

Please sign in to comment.