Skip to content

Commit 8881fac

Browse files
[GHA] Skip loading ext-relay when it's not available
1 parent 0320b68 commit 8881fac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/unit-tests.yml

+2
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ jobs:
5959
git config --global init.defaultBranch main
6060
git config --global advice.detachedHead false
6161
62+
(php --ri relay 2>&1 > /dev/null) || sudo rm /etc/php/*/cli/conf.d/20-relay.ini
63+
6264
COMPOSER_HOME="$(composer config home)"
6365
([ -d "$COMPOSER_HOME" ] || mkdir "$COMPOSER_HOME") && cp .github/composer-config.json "$COMPOSER_HOME/config.json"
6466

0 commit comments

Comments
 (0)