Skip to content
Open
6 changes: 4 additions & 2 deletions .ci/install_extensions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,13 @@ for entry in entries:
elif step == "composer update":
if os.path.isfile(os.path.join(target_dir, "composer.json")):
print(f" COMPOSER {name}")
subprocess.run(
result = subprocess.run(
["composer", "update", "--no-interaction", "--no-progress",
"--prefer-dist", "--no-dev"],
cwd=target_dir, capture_output=True, check=False,
cwd=target_dir, capture_output=True, text=True, check=False,
)
if result.returncode != 0:
print(f" COMPOSER ERROR for {name}: {result.stderr.strip()}")
elif step == "git submodule update":
print(f" SUBMODULE {name}")
subprocess.run(
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
parse:
name: Parse & Validate Commits
runs-on: ubuntu-latest
timeout-minutes: 15
outputs:
matrix: ${{ steps.parse.outputs.matrix }}
coexistence_matrix: ${{ steps.coexistence.outputs.matrix }}
Expand Down Expand Up @@ -307,11 +308,13 @@ jobs:
elif step == "composer update":
if os.path.isfile(os.path.join(target_dir, "composer.json")):
print(f" COMPOSER {name}")
subprocess.run(
result = subprocess.run(
["composer", "update", "--no-interaction", "--no-progress",
"--prefer-dist", "--no-dev"],
cwd=target_dir, capture_output=True, check=False,
cwd=target_dir, capture_output=True, text=True, check=False,
)
if result.returncode != 0:
print(f" COMPOSER ERROR for {name}: {result.stderr.strip()}")
elif step == "git submodule update":
print(f" SUBMODULE {name}")
subprocess.run(
Expand Down
Loading
Loading