@@ -19,61 +19,33 @@ jobs:
1919 - php-version : ' 5.6'
2020 lint : false
2121 symfony-version : ' ^2.8'
22- elasticsearch-package-constraint : ' ^5.0'
23- env :
24- ELASTICSEARCH_HOST : ' 127.0.0.1:9205'
22+ elasticsearch-package-constraint : ' ^5.0'
2523
2624 - php-version : ' 7.0'
2725 lint : false
2826 symfony-version : ' ^3.4'
29- elasticsearch-package-constraint : ' ^5.0'
30- env :
31- ELASTICSEARCH_HOST : ' 127.0.0.1:9205'
27+ elasticsearch-package-constraint : ' ^5.0'
3228
3329 - php-version : ' 7.2'
3430 lint : false
3531 symfony-version : ' ^3.4'
36- elasticsearch-package-constraint : ' ^5.0'
37- env :
38- ELASTICSEARCH_HOST : ' 127.0.0.1:9205'
32+ elasticsearch-package-constraint : ' ^5.0'
3933
4034 - php-version : ' 7.3'
4135 lint : false
4236 symfony-version : ' ^4.4'
43- elasticsearch-package-constraint : ' ^5.0'
44- env :
45- ELASTICSEARCH_HOST : ' 127.0.0.1:9205'
37+ elasticsearch-package-constraint : ' ^5.0'
4638
4739 - php-version : ' 7.4'
4840 lint : true
4941 symfony-version : ' ^5.0'
50- elasticsearch-package-constraint : ' ^5.0'
51- env :
52- ELASTICSEARCH_HOST : ' 127.0.0.1:9205'
42+ elasticsearch-package-constraint : ' ^5.0'
5343
5444 services :
5545 elasticsearch5 :
5646 image : elasticsearch:5.6.14
5747 ports :
58- - 9205:9200
59- env :
60- discovery.type : ' single-node'
61- xpack.security.enabled : ' false'
62- options : --health-cmd="curl http://localhost:9200/_cluster/health" --health-interval=10s --health-timeout=5s --health-retries=5
63-
64- elasticsearch6 :
65- image : elasticsearch:6.8.4
66- ports :
67- - 9206:9200
68- env :
69- discovery.type : ' single-node'
70- xpack.security.enabled : ' false'
71- options : --health-cmd="curl http://localhost:9200/_cluster/health" --health-interval=10s --health-timeout=5s --health-retries=5
72-
73- elasticsearch7 :
74- image : elasticsearch:7.9.3
75- ports :
76- - 9202:9200
48+ - 9200:9200
7749 env :
7850 discovery.type : ' single-node'
7951 xpack.security.enabled : ' false'
@@ -111,12 +83,7 @@ jobs:
11183
11284 - name : Fix code style
11385 if : ${{ matrix.lint }}
114- run : vendor/bin/phpcs -p --standard=PSR2 --ignore=vendor/,Tests/app/ ./
86+ run : vendor/bin/phpcs -p --standard=PSR2 --ignore=vendor/,Tests/app/,Profiler/Handler/BackwardCompatibilityWriteTrait.php ./
11587
11688 - name : Run tests
117- run : vendor/bin/simple-phpunit --coverage-clover=coverage.clover
118-
119- - name : Upload coverage results to Coveralls
120- run : vendor/bin/php-coveralls -v
121- env :
122- COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
89+ run : vendor/bin/simple-phpunit
0 commit comments