File tree Expand file tree Collapse file tree 2 files changed +39
-21
lines changed
Expand file tree Collapse file tree 2 files changed +39
-21
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ permissions:
1111
1212jobs :
1313
14- cs :
14+ code-style :
1515 runs-on : ' ubuntu-latest'
1616 name : ' Coding style'
1717 steps :
3939 if : ' always()'
4040
4141 phpunit :
42-
4342 runs-on : ${{ matrix.system }}
44-
4543 name : ' PHPUnit (PHP ${{ matrix.php }} - ${{ matrix.system }})'
4644 strategy :
4745 matrix :
@@ -53,30 +51,46 @@ jobs:
5351 - ' 7.2'
5452 - ' 7.3'
5553 - ' 7.4'
56-
5754 steps :
58- - name : Checkout Code
59- uses : actions/checkout@v2
60-
61- - name : ' Setup PHP'
62- uses : ' shivammathur/setup-php@v2'
63- with :
64- php-version : ' ${{ matrix.php }}'
65- coverage : ' none'
66- tools : ' composer:v2'
55+ - name : Checkout Code
56+ uses : actions/checkout@v2
6757
68- - name : ' Install dependencies'
69- run : |
70- composer install --no-interaction --no-progress --ansi
71-
72- - name : ' Run unit tests'
73- run : |
74- composer phpunit
58+ - name : ' Setup PHP'
59+ uses : ' shivammathur/setup-php@v2'
60+ with :
61+ php-version : ' ${{ matrix.php }}'
62+ coverage : ' none'
63+ tools : ' composer:v2'
7564
76- coverage :
65+ - name : ' Install dependencies'
66+ run : |
67+ composer install --no-interaction --no-progress --ansi
68+
69+ - name : ' Run unit tests'
70+ run : |
71+ composer phpunit
72+
73+ code-coverage :
7774 runs-on : ' ubuntu-latest'
7875 name : ' Code Coverage'
7976 steps :
77+ - name : ' Checkout'
78+ uses : ' actions/checkout@v2'
79+
80+ - name : ' Setup PHP'
81+ uses : ' shivammathur/setup-php@v2'
82+ with :
83+ php-version : ' 7.4'
84+ tools : ' composer:v2'
85+
86+ - name : ' Install dependencies'
87+ run : |
88+ composer install --no-interaction --no-progress --ansi
89+
90+ - name : ' Run code coverage'
91+ run : |
92+ composer coverage
93+
8094 - name : Send code coverage report to Codecov.io
8195 uses : codecov/codecov-action@v2
8296 with :
Original file line number Diff line number Diff line change 11# CHANGELOG
22
3+ ## [ 1.1.9] ( https://github.com/josantonius/php-json/releases/tag/1.1.9 ) (2022-06-11)
4+
5+ * Fix sending code coverage report to Codecov.io.
6+
37## [ 1.1.8] ( https://github.com/josantonius/php-json/releases/tag/1.1.8 ) (2022-06-11)
48
59* Added support for ` PHP 7.3 ` and ` 7.4 ` .
You can’t perform that action at this time.
0 commit comments