Skip to content

Commit

Permalink
Run composer show in the actual scenario folder
Browse files Browse the repository at this point in the history
  • Loading branch information
pablomartinezbernardo committed Apr 2, 2024
1 parent 4653924 commit 5171a2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ define run_composer_with_retry
done \

mkdir -p /tmp/artifacts
$(COMPOSER) --working-dir=$1 show -f json | grep -o '"name": "[^"]*\|"version": "[^"]*' | paste -d';' - - | sed 's/"name": //; s/"version": //' | tr -d '"' >> "/tmp/artifacts/web_versions.csv"
$(COMPOSER) --working-dir=$1 show -f json -D | grep -o '"name": "[^"]*\|"version": "[^"]*' | paste -d';' - - | sed 's/"name": //; s/"version": //' | tr -d '"' >> "/tmp/artifacts/web_versions.csv"
endef

define run_tests_without_coverage
Expand Down
2 changes: 1 addition & 1 deletion tests/Common/IntegrationTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static function ddSetUpBeforeClass()
file_put_contents($artifactsDir . "/extension_versions.csv", $csv, FILE_APPEND);

$csv = '';
$output = shell_exec('DD_TRACE_ENABLED=0 composer show -f json -D');
$output = shell_exec('DD_TRACE_ENABLED=0 composer --working-dir=./tests show -f json');
$data = json_decode($output, true);

foreach ($data['installed'] as $package) {
Expand Down

0 comments on commit 5171a2e

Please sign in to comment.