Skip to content

Commit 10131ca

Browse files
committed
Test against WordPress 6.1.1
1 parent adac0a2 commit 10131ca

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

.github/workflows/integration-tests.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@ jobs:
2323
fail-fast: false
2424
matrix:
2525
php: ["8.0", "8.1", "8.2"]
26-
wordpress: [ { "version": "5.9.2", "sha256": "12wzqrh21sh6pgvs0ayabcv66psq9a8cfz3qk43r5kjn5bfz4rbp" } ]
26+
wordpress: [
27+
{
28+
"version": "6.1.1",
29+
"sha256": "sha256-IR6FSmm3Pd8cCHNQTH1oIaLYsEP1obVjr0bDJkD7H60="
30+
}
31+
]
2732

2833
name: PHP ${{ matrix.php }}, WordPress ${{ matrix.wordpress.version }}
2934

integration-tests/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ let
1818
composer = lib.getAttr phpVersion composerPackages;
1919
php = lib.getAttr phpVersion phpPackages;
2020
wordpress = (pkgs.wordpress.overrideAttrs (oldAttrs: rec {
21-
version = getEnv "WORDPRESS_VERSION" "6.0.1";
21+
version = getEnv "WORDPRESS_VERSION" "6.1.1";
2222
src = fetchurl {
2323
url = "https://wordpress.org/wordpress-${version}.tar.gz";
2424
sha256 = getEnv "WORDPRESS_SHA256"
25-
"f678596804aa89d7cdc9280862938464eab25aeaebfefa91ae175e15aa3ef054";
25+
"sha256-IR6FSmm3Pd8cCHNQTH1oIaLYsEP1obVjr0bDJkD7H60=";
2626
};
2727
}));
2828
in with pkgs; [

integration-tests/test-matrix.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#!/usr/bin/env bash
22

3-
set -ouex
3+
set -uex
44

55
cd "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
66

77
for PHP_VERSION in "8.0" "8.1" "8.2"; do
88
# shellcheck disable=SC2043
9-
for WP in "6.0.1=f678596804aa89d7cdc9280862938464eab25aeaebfefa91ae175e15aa3ef054"; do
10-
WORDPRESS_VERSION="${WP%=*}"
11-
WORDPRESS_SHA256="${WP#*=}"
9+
for WP in "6.1.1:sha256-IR6FSmm3Pd8cCHNQTH1oIaLYsEP1obVjr0bDJkD7H60="; do
10+
WORDPRESS_VERSION="${WP%:*}"
11+
WORDPRESS_SHA256="${WP#*:}"
1212
echo "PHP Version $PHP_VERSION, Wordpress Version $WORDPRESS_VERSION"
1313
PHP_VERSION=$PHP_VERSION WORDPRESS_SHA256=$WORDPRESS_SHA256 WORDPRESS_VERSION=$WORDPRESS_VERSION nix-shell --run "clojure -X:test"
1414
done

0 commit comments

Comments
 (0)