Skip to content

Commit

Permalink
Merge pull request #92 from bweston92/patch-1
Browse files Browse the repository at this point in the history
Documentation update for running tests.
  • Loading branch information
codeliner authored Jun 22, 2017
2 parents 51f0e0e + affce47 commit 0e0535d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,26 +40,26 @@ and a running Postgres server listening on port `5432`. Both should contain an e

### MariaDb

Todo
`$ vendor/bin/phpunit -c phpunit.xml.mariadb`

### MySql

`$ composer test-mysql`
`$ vendor/bin/phpunit -c phpunit.xml.mysql`

### Postgres

`$ composer test-postgres`
`$ vendor/bin/phpunit -c phpunit.xml.postgres`

## Run Tests With Docker
## Run Tests With Docker Compose

### MariaDb

Todo
`$ docker-compose -f docker-compose-tests.yml run --rm composer run-script test-mariadb --timeout 0`

### MySql

`$ docker-compose -f docker-compose-tests.yml run -e DB_HOST=mysql --rm composer run-script test-mysql --timeout 0`
`$ docker-compose -f docker-compose-tests.yml run --rm composer run-script test-mysql --timeout 0`

### Postgres

`$ docker-compose -f docker-compose-tests.yml run -e DB_HOST=postgres --rm composer run-script test-postgres --timeout 0`
`$ docker-compose -f docker-compose-tests.yml run --rm composer run-script test-postgres --timeout 0`

0 comments on commit 0e0535d

Please sign in to comment.