11#
2- # JBZoo Toolbox - Markdown
2+ # JBZoo Toolbox - Markdown.
33#
44# This file is part of the JBZoo Toolbox project.
55# For the full copyright and license information, please view the LICENSE
66# file that was distributed with this source code.
77#
8- # @package Markdown
98# @license MIT
109# @copyright Copyright (C) JBZoo.com, All rights reserved.
11- # @link https://github.com/JBZoo/Markdown
10+ # @see https://github.com/JBZoo/Markdown
1211#
1312
1413name : CI
2120 branches :
2221 - ' master'
2322 schedule :
24- - cron : ' 45 */8 * * *'
23+ - cron : ' 15 */8 * * *'
2524
2625env :
2726 COLUMNS : 120
@@ -35,20 +34,22 @@ jobs:
3534 JBZOO_COMPOSER_UPDATE_FLAGS : ${{ matrix.composer_flags }}
3635 strategy :
3736 matrix :
38- php-version : [ 7.4, 8.0, 8.1 ]
37+ php-version : [ 8.1, 8.2 ]
38+ coverage : [ xdebug, none ]
3939 composer_flags : [ "--prefer-lowest", "" ]
4040 steps :
4141 - name : Checkout code
42- uses : actions/checkout@v2
42+ uses : actions/checkout@v3
4343 with :
4444 fetch-depth : 0
4545
4646 - name : Setup PHP
4747 uses : shivammathur/setup-php@v2
4848 with :
4949 php-version : ${{ matrix.php-version }}
50- coverage : xdebug
50+ coverage : ' ${{ matrix.coverage }} '
5151 tools : composer
52+ extensions : ast
5253
5354 - name : Build the Project
5455 run : make update --no-print-directory
@@ -57,14 +58,17 @@ jobs:
5758 run : make test --no-print-directory
5859
5960 - name : Uploading coverage to coveralls
61+ if : " ${{ matrix.coverage == 'xdebug' }}"
62+ continue-on-error : true
6063 env :
6164 COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6265 run : make report-coveralls --no-print-directory || true
6366
6467 - name : Upload Artifacts
65- uses : actions/upload-artifact@v2
68+ uses : actions/upload-artifact@v3
69+ continue-on-error : true
6670 with :
67- name : PHPUnit - ${{ matrix.php-version }} ${{ matrix.composer_flags }}
71+ name : ' PHPUnit - ${{ matrix.php-version }} - ${{ matrix.coverage }}'
6872 path : build/
6973
7074
@@ -73,20 +77,20 @@ jobs:
7377 runs-on : ubuntu-latest
7478 strategy :
7579 matrix :
76- php-version : [ 7.4, 8.0 , 8.1 ]
80+ php-version : [ 8.1 , 8.2 ]
7781 steps :
7882 - name : Checkout code
79- uses : actions/checkout@v2
83+ uses : actions/checkout@v3
8084 with :
8185 fetch-depth : 0
8286
8387 - name : Setup PHP
8488 uses : shivammathur/setup-php@v2
8589 with :
8690 php-version : ${{ matrix.php-version }}
87- coverage : xdebug
91+ coverage : none
8892 tools : composer
89- extentions : ast
93+ extensions : ast
9094
9195 - name : Build the Project
9296 run : make update --no-print-directory
9599 run : make codestyle --no-print-directory
96100
97101 - name : Upload Artifacts
98- uses : actions/upload-artifact@v2
102+ uses : actions/upload-artifact@v3
103+ continue-on-error : true
99104 with :
100105 name : Linters - ${{ matrix.php-version }}
101106 path : build/
@@ -106,10 +111,10 @@ jobs:
106111 runs-on : ubuntu-latest
107112 strategy :
108113 matrix :
109- php-version : [ 7.4, 8.0 , 8.1 ]
114+ php-version : [ 8.1 , 8.2 ]
110115 steps :
111116 - name : Checkout code
112- uses : actions/checkout@v2
117+ uses : actions/checkout@v3
113118 with :
114119 fetch-depth : 0
115120
@@ -119,6 +124,7 @@ jobs:
119124 php-version : ${{ matrix.php-version }}
120125 coverage : xdebug
121126 tools : composer
127+ extensions : ast
122128
123129 - name : Build the Project
124130 run : make update --no-print-directory
@@ -127,7 +133,8 @@ jobs:
127133 run : make report-all --no-print-directory
128134
129135 - name : Upload Artifacts
130- uses : actions/upload-artifact@v2
136+ uses : actions/upload-artifact@v3
137+ continue-on-error : true
131138 with :
132139 name : Reports - ${{ matrix.php-version }}
133140 path : build/
0 commit comments