@@ -11,21 +11,28 @@ on: # yamllint disable-line rule:truthy
11
11
- master
12
12
13
13
jobs :
14
- code-coverage :
14
+ testing :
15
15
timeout-minutes : 4
16
16
runs-on : ${{ matrix.os }}
17
17
concurrency :
18
18
cancel-in-progress : true
19
- group : code-coverage -${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ matrix.php-version }}-${{ matrix.dependencies }}
19
+ group : testing -${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ matrix.php-version }}-${{ matrix.dependencies }}
20
20
strategy :
21
21
fail-fast : true
22
22
matrix :
23
23
os :
24
24
- ' ubuntu-latest'
25
25
php-version :
26
- - ' 8.4'
26
+ - ' 8.1'
27
+ - ' 8.2'
28
+ - ' 8.3'
27
29
dependencies :
30
+ - lowest
28
31
- locked
32
+ - highest
33
+ include :
34
+ - php-version : ' 8.4'
35
+ dependencies : highest
29
36
steps :
30
37
- name : 📦 Check out the codebase
31
38
uses : actions/checkout@v4
35
42
with :
36
43
php-version : ${{ matrix.php-version }}
37
44
ini-values : error_reporting=E_ALL
38
- coverage : xdebug
39
45
40
46
- name : 🛠️ Setup problem matchers
41
47
run : |
@@ -50,38 +56,24 @@ jobs:
50
56
with :
51
57
dependency-versions : ${{ matrix.dependencies }}
52
58
53
- - name : 🧪 Collect code coverage with Xdebug and PhpUnit
54
- run : composer test:cc
55
-
56
- - name : 📤 Upload code coverage report to Codecov
57
-
58
- with :
59
- files : .build/phpunit/logs/clover.xml
60
- token : ${{ secrets.CODECOV_TOKEN }}
61
- verbose : true
59
+ - name : 🧪 Run tests
60
+ run : composer test
62
61
63
- testing :
62
+ code-coverage :
64
63
timeout-minutes : 4
65
64
runs-on : ${{ matrix.os }}
66
65
concurrency :
67
66
cancel-in-progress : true
68
- group : testing -${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ matrix.php-version }}-${{ matrix.dependencies }}
67
+ group : code-coverage -${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ matrix.php-version }}-${{ matrix.dependencies }}
69
68
strategy :
70
69
fail-fast : true
71
70
matrix :
72
71
os :
73
72
- ' ubuntu-latest'
74
73
php-version :
75
74
- ' 8.1'
76
- - ' 8.2'
77
- - ' 8.3'
78
75
dependencies :
79
- - lowest
80
76
- locked
81
- - highest
82
- include :
83
- - php-version : ' 8.4'
84
- dependencies : highest
85
77
steps :
86
78
- name : 📦 Check out the codebase
87
79
uses : actions/checkout@v4
@@ -106,8 +98,15 @@ jobs:
106
98
with :
107
99
dependency-versions : ${{ matrix.dependencies }}
108
100
109
- - name : 🧪 Run tests
110
- run : composer test
101
+ - name : 🧪 Collect code coverage with Xdebug and PhpUnit
102
+ run : composer test:cc
103
+
104
+ - name : 📤 Upload code coverage report to Codecov
105
+ uses : codecov/codecov-action@v4
106
+ with :
107
+ files : runtime/phpunit/logs/clover.xml
108
+ token : ${{ secrets.CODECOV_TOKEN }}
109
+ verbose : true
111
110
112
111
compile-phar :
113
112
timeout-minutes : 4
0 commit comments