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

Improved docker compose for tests #21

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

nightio
Copy link
Contributor

@nightio nightio commented Jul 18, 2024

No description provided.

@GromNaN
Copy link
Collaborator

GromNaN commented Jul 18, 2024

How does it improve? I can see config becoming more complicated, but I'm not sure there's much point in improving test performance on such a small library.

@nightio
Copy link
Contributor Author

nightio commented Jul 18, 2024

I just spent 10 minutes to review my previous approach and change it.
It the changed version, docker will not touch local files anymore which is better for development. It uses anonymous volumes and container file system for any modified files.

However, you can close the PR if you wish.
I made it for fun 🙂

@GromNaN
Copy link
Collaborator

GromNaN commented Jul 18, 2024

Okay, have it your way. While you are at it, you could exclude docker files in .gitattributes. Thank you.

@nightio nightio force-pushed the improved-docker-compose branch from e3f8e00 to 5ead9b3 Compare July 19, 2024 06:58
@nightio
Copy link
Contributor Author

nightio commented Jul 19, 2024

Done.
I also changed phpunit.xml to phpunit.xml.dist in .gitattributes

@GromNaN GromNaN merged commit bbb8cb6 into prismamedia:2.x Jul 19, 2024
7 checks passed
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.

2 participants