Open thePanz opened 3 months ago
Refactor doker setup
=> Refactor docker setup
Please update the README.md
file too if anything changes.
@connorhu @mentalstring I would need some help here: I did not setup any MySQL server and the tests are all green. Something is weird IMO
@thePanz Anno I started looking at the possibility of psr-4 migration and even with obvious problems the test was green with lime. Then I began to port the test system to phpunit because I found lime to be totally unreliable. On topic: how can I help? Should I look at your branch?
@connorhu @mentalstring I would need some help here: I did not setup any MySQL server and the tests are all green. Something is weird IMO
Not sure if this is what you are referring to, but I think only unit/storage/sfMySQLStorageTest.php
would use MySQL and it skips the test if the mysql extension is not installed. unit/storage/sfMySQLiStorageTest.php
does the same if sqlite is not installed.
Currently, running tests with the symfony:test
hides skipped tests behind a 'ok' which is how sfAPCCacheTest wasn't running on the CI for a long while due to test being skipped.
It also hides a bunch notices/warnings (e.g. try php unit/validator/sfValidatorSchemaTest.php
). I think there is some work on https://github.com/FriendsOfSymfony1/symfony1/pull/302 that maybe helps with this, but I didn't look closely.
Speaking of tests and refactoring the docker setup, I think test/bin/test
is no longer needed?
docker-compose.yml
just
for automation and scripting (requires: https://just.systems )