This repository was archived by the owner on Feb 28, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -16,18 +16,25 @@ jobs:
1616 include :
1717 - php : 5.6
1818 phpunit : 5
19+ composerversion : ' 2.2.9'
1920 - php : ' 7.0'
2021 phpunit : 6
22+ composerversion : ' 2.2.9'
2123 - php : 7.1
2224 phpunit : 7
25+ composerversion : ' 2.2.9'
2326 - php : 7.2
2427 phpunit : 8
28+ composerversion : ' 2.2.9'
2529 - php : 7.3
2630 phpunit : 9
31+ composerversion : ' latest'
2732 - php : 7.4
2833 phpunit : 9
34+ composerversion : ' latest'
2935 - php : ' 8.0'
3036 phpunit : 9
37+ composerversion : ' latest'
3138
3239 runs-on : ubuntu-latest
3340
3946 with :
4047 php-version : ${{ matrix.php }}
4148 coverage : none
49+ tools : composer:${{ matrix.composerversion }}
4250
4351 - name : Cache Composer dependencies
4452 uses : actions/cache@v2
4755 key : php${{ matrix.php }}-${{ hashFiles('**/composer.json') }}
4856
4957 - name : Install dependencies
50- uses : php-actions/composer@v5
51- with :
52- php_version : ${{ matrix.php }}
58+ run : |
59+ composer --no-plugins --no-scripts install
60+ composer --no-plugins --no-scripts dump-autoload -o
61+ vendor/bin/phpunit --configuration ./phpunit.xml --teamcity
5362
5463 - name : Run tests
5564 uses : php-actions/phpunit@v3
You can’t perform that action at this time.
0 commit comments