-
Notifications
You must be signed in to change notification settings - Fork 1k
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
CI workflow updates #1179
CI workflow updates #1179
Conversation
45ed215
to
ec333e9
Compare
23c39a6
to
04cf897
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1179 +/- ##
============================================
- Coverage 73.21% 73.17% -0.05%
- Complexity 1047 1048 +1
============================================
Files 39 39
Lines 3129 3131 +2
============================================
Hits 2291 2291
- Misses 838 840 +2 ☔ View full report in Codecov by Sentry. |
cbb2be5
to
531a94a
Compare
111b5a1
to
f09c02d
Compare
why? |
It removes the RabbitMQ restart, also, the script I added can be run locally to get a test environment going. I can add that to the docs. |
local test environment was working fine 🤷 |
@ramunasd I'm going to add instructions for running a local test environment. How do you do it? I'm assuming using |
Well yes, |
Ha, yes, but it does work well for GitHub actions.
Yep, but ... how? I just ran So, I updated |
Using |
OK great, down to two errors:
I'll commit my latest changes. |
docker dev image is based on oldest supported php version, which is 7.2 |
Thank you for the explanation, I'm sure that was the issue. I will document it. |
bdb29d2
to
aab8b3a
Compare
* Start RabbitMQ using `docker run` so a restart is not necessary. * Use latest `toxiproxy` version * Save RabbitMQ logs * Ensure RabbitMQ logs to file * Set up RabbitMQ and Toxiproxy using the same scripts as the .NET client * Update CONTRIBUTING.md to include instructions for starting RabbitMQ * Add make targets to start up docker test env, and a target to run tests via docker
37946a1
to
3d318f6
Compare
@ramunasd no hurry, take a look when you have time. Thanks! |
I see Your efforts to make thing better, but this looks overcomplicated. I don't understand why You want to remove php container from docker-compose? It was really fine before, kind of community standard to use docker-compose directly. If You want have ability to rebuild images, then it can solved with simple If You really want, go ahead, but I wont use it :) |
Noted! The changes in this PR are similar to those I have done in the .NET client and other client libraries that Team RabbitMQ maintains. It'll make it easier for me to remember how to do things like run tests when I switch between client libraries. And of course if there are issues with my changes going forward let me know and I will fix them ASAP! |
docker run
so a restart is not necessary.toxiproxy
version@ramunasd I've copied some scripts from here to set up GitHub actions for tests. In another PR, I'll do the same for Windows tests, and remove the AppVeyor build.