symfony1 icon indicating copy to clipboard operation
symfony1 copied to clipboard

Add consistent local environment for testing with docker and docker-compose

Open alquerci opened this issue 2 years ago • 2 comments

Goal

  • Removes all side work for contributors that do not provide any value, except effective improvements
  • Provide the same testing environment for everyone.
  • Help contributors to win the big challenge of PHP new versions supports, while BC layer are kept.
  • Provide a bit more confidence during the development by reducing the testing feedback loop.

Usage

Look at the README.md.

In short

test/bin/test

Test results

Same matrix than travis-ci

PHP version Dependency Status
php53 highest :green_circle:
php54 highest :green_circle:
php55 highest :green_circle:
php56 highest :green_circle:
php70 highest :green_circle:
php71 highest :green_circle:
php72 highest :green_circle:
php73 highest :red_circle:
php74 highest :red_circle:
#   at [sfDoctrine] functional/AdminGenTest.php line 17
>   response selector "select" matches "NewActivePendingExpired"
           got: '
New
Active
Pending
Expired
'
      expected: 'NewActivePendingExpired'

New additional matrix (disabled by default)

PHP version Dependency Status
php53 lowest :green_circle:
php54 lowest :green_circle:
php55 lowest :green_circle:
php56 lowest :green_circle:
php70 lowest :green_circle:
php71 lowest :green_circle:
php72 lowest :green_circle:
php73 lowest :red_circle:
php74 lowest :red_circle:
php80 highest :red_circle:
php81 highest :red_circle:
php80 lowest :red_circle:
php81 lowest :red_circle:

Related to #261

alquerci avatar Jan 22 '22 15:01 alquerci

News, APC tests failed on all versions, so by default there are disabled until patch is done.

>   ->set('test', 'some random data to store in the cache system... (\'"!#/é$£)', -10)
#   at unit/cache/sfCacheDriverTests.class.php line 22
>   ->get() returns the default value if cache has expired
           got: 'some random data to store in the cache system... (\'"!#/é$£)'
      expected: 'default'

Related to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=805883

And it seems that APC does not support negative lifetime.

alquerci avatar Jan 23 '22 18:01 alquerci

@thePanz I remind you that this PR is a dependency for all new one.

alquerci avatar Oct 05 '22 16:10 alquerci