File tree Expand file tree Collapse file tree 2 files changed +57
-20
lines changed Expand file tree Collapse file tree 2 files changed +57
-20
lines changed Original file line number Diff line number Diff line change
1
+ name : " Continuous Integration"
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - 2.0
8
+ jobs :
9
+ test :
10
+ name : " Test"
11
+ runs-on : " ubuntu-latest"
12
+
13
+ strategy :
14
+ matrix :
15
+ php-version :
16
+ - " 7.4"
17
+ - " 8.0"
18
+ - " 8.1"
19
+ - " 8.2"
20
+ - " 8.3"
21
+ dependencies :
22
+ - " lowest"
23
+ - " highest"
24
+ exclude :
25
+ # Exclude lowest deps version as they don't support newer php versions
26
+ - dependencies : " lowest"
27
+ php-version : " 8.3"
28
+ - dependencies : " lowest"
29
+ php-version : " 8.2"
30
+ - dependencies : " lowest"
31
+ php-version : " 8.1"
32
+ - dependencies : " lowest"
33
+ php-version : " 8.0"
34
+
35
+ steps :
36
+ - name : " Checkout"
37
+ uses : " actions/checkout@v4"
38
+
39
+ - name : " Install PHP"
40
+ uses : " shivammathur/setup-php@v2"
41
+ with :
42
+ coverage : " xdebug"
43
+ php-version : " ${{ matrix.php-version }}"
44
+ ini-values : " zend.assertions=1"
45
+
46
+ - uses : " ramsey/composer-install@v2"
47
+ with :
48
+ dependency-versions : " ${{ matrix.dependencies }}"
49
+
50
+ - name : " Run PHPUnit"
51
+ run : " vendor/bin/phpunit -c phpunit.xml.dist"
52
+
53
+ - name : Upload coverage results to Coveralls
54
+ env :
55
+ COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
56
+ run : |
57
+ vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments