Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Vagrant VM with Docker containers #217

Open
wants to merge 1 commit into
base: 2.14.x
Choose a base branch
from

Conversation

fabiang
Copy link

@fabiang fabiang commented Sep 23, 2021

closes #209

@ZVanoZ
Copy link
Contributor

ZVanoZ commented Sep 24, 2021

# Go to "laminas-db" sources
$ cd laminas-db

# Config for all tests. Copy "phpunit.xml.dist" to "phpunit.xml" in directory "laminas-db".
$ cp phpunit.xml.dist phpunit.xml

# Config for check and fix code-style, create "phpcs.xml"  
$ cp phpcs.xml.dist phpcs.xml

# Update libraries
$ docker run --rm -it --volume $(pwd):/app zvanoz/laminas-db-test-by-docker:74 composer update

# Check code, using rules laminas comunity.
$ docker run --rm -it --volume $(pwd):/app zvanoz/laminas-db-test-by-docker:74 composer cs-check -vvv

# Auto-fix code, using rules laminas comunity.
$ docker run --rm -it --volume $(pwd):/app zvanoz/laminas-db-test-by-docker:74 composer cs-fix -vvv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create docker image for run integration unit tests for "laminas-db"
2 participants