Docker support for unit tests - #23
Conversation
Note that 1 test currently fails: #22
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
j6s
commented
Oct 2, 2021
Curiously, I could not reproduce #22 - after checking out that branch and running the compose setup, it worked on my machine (TM) |
j6s
commented
Oct 19, 2021
When starting from a clean repository without a |
CI using GitHub Actions to build docker container used for running PHP tests
installs git and zip so vendor files can be downloaded and extracted
swharden
commented
Oct 19, 2021
Thanks for pointing that out! To prevent "it works on my machine" problems like this I created another GitHub action that builds the docker container (and runs the tests inside it) in the cloud. I'm not proposing this replace the tests that already run in the cloud (#24), but this will at least let you spot-check that the testing container is building as expected. If it's not helpful you may wish to modify it so it only runs manually (not on every push). |

Added docker files to the home directory and added notes at the bottom of the main readme to make it easy for new developers to run/test phparch in a Linux container
Note that 1 test currently fails: #22