Skip to content

Commit 7f63c2d

Browse files
committed
Add bin/test-releases
1 parent d51a453 commit 7f63c2d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

bin/test-releases

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env bash
2+
set -euo pipefail
3+
4+
# Test releases against the oldest and newest supported PHP versions
5+
for php in php84 php81; do
6+
for pluginPkg in plugin pluginWpOrg; do
7+
echo "Testing $pluginPkg with $php"
8+
PHP_PACKAGE="$php" STATIC_DEPLOY_PACKAGE="$pluginPkg" nix flake check --impure ./dev
9+
done
10+
done

0 commit comments

Comments
 (0)