File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,23 @@ jobs:
21
21
- name : Checkout
22
22
uses : actions/checkout@v3
23
23
24
- - name : Test
24
+ - name : Prepare
25
25
run : |
26
26
start-mysql
27
27
mysql -V
28
28
php -v
29
29
cp -r "./" "/plugins/FroshPlatformThumbnailProcessor"
30
30
cd /plugins/FroshPlatformThumbnailProcessor
31
31
composer update -d /opt/shopware
32
+
33
+ - name : Install specific dependencies for v6.5.0
34
+ if : matrix.version == 'v6.5.0'
35
+ run : |
36
+ composer require react/promise:~2 -d /opt/shopware/vendor-bin/roave-backward-compatibility-check
37
+ composer require tomasvotruba/type-coverage --dev --no-scripts -d /opt/shopware/
38
+
39
+ - name : PHPUnit
40
+ run : |
32
41
php -d pcov.enabled=1 /opt/shopware/vendor/bin/phpunit --coverage-clover clover.xml
33
42
34
43
- uses : codecov/codecov-action@v3
39
48
root_dir : /plugins/FroshPlatformThumbnailProcessor
40
49
working-directory : /plugins/FroshPlatformThumbnailProcessor
41
50
42
- - name : Install dependencies for PHPStan
43
- if : matrix.version == 'v6.5.0'
44
- run : |
45
- cd /opt/shopware/
46
- composer require react/promise:~2 -d /opt/shopware/vendor-bin/roave-backward-compatibility-check
47
- composer require tomasvotruba/type-coverage --dev --no-scripts
48
-
49
51
- name : PHPStan
50
52
run : |
51
53
cd /plugins/FroshPlatformThumbnailProcessor
You can’t perform that action at this time.
0 commit comments