File tree Expand file tree Collapse file tree 4 files changed +12
-65
lines changed Expand file tree Collapse file tree 4 files changed +12
-65
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 13
13
- name : " Checkout"
14
14
uses : actions/checkout@v4
15
15
16
- - name : " Build environment "
16
+ - name : " Environment "
17
17
uses : shivammathur/setup-php@v2
18
18
with :
19
19
php-version : " 7.1"
26
26
COMPOSER_MEMORY_LIMIT=-1 composer update
27
27
28
28
- name : " Application"
29
- run : vendor/bin/phpstan --version
30
-
31
- - name : " Analyses"
32
- run : vendor/bin/phpstan analyse src/ --error-format=github
29
+ run : |
30
+ vendor/bin/phpstan --version
31
+ vendor/bin/phpstan analyse src/ --error-format=github
Original file line number Diff line number Diff line change 25
25
- name : " Checkout"
26
26
uses : actions/checkout@v4
27
27
28
- - name : " Build environment "
28
+ - name : " Environment "
29
29
uses : shivammathur/setup-php@v2
30
30
with :
31
31
php-version : " ${{ matrix.php-version }}"
@@ -40,19 +40,18 @@ jobs:
40
40
- name : " Application"
41
41
run : |
42
42
mkdir -p build/logs
43
- wget -c -nc --retry-connrefused --tries=0 https://github.com/php-coveralls/php-coveralls/releases/download/v2.5.3/php-coveralls.phar -O coveralls.phar
44
- chmod +x coveralls.phar
45
- php coveralls.phar --version
46
-
47
- - name : " Tests"
48
- run : vendor/bin/phpunit --coverage-clover build/logs/clover.xml
43
+ vendor/bin/phpunit --coverage-clover build/logs/clover.xml
49
44
50
45
- name : " Coverage"
51
46
env :
52
47
COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
53
48
COVERALLS_FLAG_NAME : php-${{ matrix.php-version }}
54
49
COVERALLS_PARALLEL : true
55
- run : php coveralls.phar -v
50
+ run : |
51
+ wget -c -nc --retry-connrefused --tries=0 https://github.com/php-coveralls/php-coveralls/releases/download/v2.5.3/php-coveralls.phar -O coveralls.phar
52
+ chmod +x coveralls.phar
53
+ php coveralls.phar --version
54
+ php coveralls.phar --coverage_clover=build/logs/clover.xml -v
56
55
57
56
coverage :
58
57
name : " Coverage"
64
63
- name : " Coverage"
65
64
uses : coverallsapp/github-action@v2
66
65
with :
67
- github-token : ${{ secrets.github_token }}
66
+ github-token : ${{ secrets.GITHUB_TOKEN }}
68
67
parallel-finished : true
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments