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.
42
42
export GOOGLE_STORAGE_BUCKET=YOUR_BUCKET
43
43
```
44
44
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.
46
49
```
50
+ bash test/composer.sh
47
51
cd $SAMPLES_DIRECTORY
48
52
composer install
49
- vendor/bin/ phpunit
53
+ phpunit
50
54
```
51
55
52
56
1 . 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
1
2
composer global require " google/cloud-tools:dev-master"
2
3
composer global require " phpunit/phpunit:^5"
You can’t perform that action at this time.
0 commit comments