File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,15 @@ accept your pull requests.
4242 export GOOGLE_STORAGE_BUCKET=YOUR_BUCKET
4343 ```
4444
45- To run the tests in a samples directory,
45+ To run the tests in a samples directory, first install the global Composer
46+ dependencies by running ` bash test/composer.sh ` . Then, run ` composer install `
47+ and ` phpunit ` in any directory containing a ` phpunit.xml.dist ` file to run
48+ the tests.
4649 ```
50+ bash test/composer.sh
4751 cd $SAMPLES_DIRECTORY
4852 composer install
49- vendor/bin/ phpunit
53+ phpunit
5054 ```
5155
52561 . Ensure that your code adheres to the existing style in the sample to which
Original file line number Diff line number Diff line change 1+ #! /bin/bash
12composer global require " google/cloud-tools:dev-master"
23composer global require " phpunit/phpunit:^5"
You can’t perform that action at this time.
0 commit comments