Skip to content

Commit 0bc3719

Browse files
committed
Make test-php-versions parallel
1 parent e8bbad1 commit 0bc3719

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bin/test-php-versions

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

4-
for php in php84 php83 php82 php81; do
5-
echo "Testing $php"
6-
PHP_PACKAGE="$php" nix flake check --impure ./dev
7-
done
4+
parallel -j "$(nproc)" --tagstring "{1}" --line-buffer '
5+
echo "Testing {1}"
6+
PHP_PACKAGE="{1}" nix flake check --impure ./dev
7+
' ::: php84 php83 php82 php81

0 commit comments

Comments
 (0)