File tree 8 files changed +332
-0
lines changed
8 files changed +332
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build PHP 7.0
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ pull_request :
7
+ branches : [ main ]
8
+
9
+ jobs :
10
+ test :
11
+ runs-on : ${{ matrix.os }}
12
+
13
+ strategy :
14
+ fail-fast : true
15
+ matrix :
16
+ os : [ ubuntu-latest ]
17
+ php : [7.0]
18
+
19
+ name : PHP${{matrix.php}} - ${{matrix.os}}
20
+
21
+ steps :
22
+ - name : Clone Repo
23
+ uses : actions/checkout@v1
24
+
25
+ - name : Setup PHP
26
+ uses : shivammathur/setup-php@v2
27
+ with :
28
+ php-version : ${{ matrix.php }}
29
+ extensions : mysqli, mbstring, sqlsrv
30
+ tools : phpunit:5.7.27, composer
31
+
32
+ - name : Install Dependencies
33
+ run : composer install --prefer-dist --no-interaction
34
+
35
+ - name : Execute Tests
36
+ run : phpunit
37
+
38
+ - name : CodeCov
39
+ uses : codecov/codecov-action@v1
Original file line number Diff line number Diff line change
1
+ name : Build PHP 7.1
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ pull_request :
7
+ branches : [ main ]
8
+
9
+ jobs :
10
+ test :
11
+ runs-on : ${{ matrix.os }}
12
+
13
+ strategy :
14
+ fail-fast : true
15
+ matrix :
16
+ os : [ ubuntu-latest ]
17
+ php : [7.1]
18
+
19
+ name : PHP${{matrix.php}} - ${{matrix.os}}
20
+
21
+ steps :
22
+ - name : Clone Repo
23
+ uses : actions/checkout@v1
24
+
25
+ - name : Setup PHP
26
+ uses : shivammathur/setup-php@v2
27
+ with :
28
+ php-version : ${{ matrix.php }}
29
+ extensions : mysqli, mbstring, sqlsrv
30
+ tools : phpunit:5.7.27, composer
31
+
32
+ - name : Install Dependencies
33
+ run : composer install --prefer-dist --no-interaction
34
+
35
+ - name : Execute Tests
36
+ run : phpunit
37
+
38
+ - name : CodeCov
39
+ uses : codecov/codecov-action@v1
Original file line number Diff line number Diff line change
1
+ name : Build PHP 7.2
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ pull_request :
7
+ branches : [ main ]
8
+
9
+ jobs :
10
+ test :
11
+ runs-on : ${{ matrix.os }}
12
+
13
+ strategy :
14
+ fail-fast : true
15
+ matrix :
16
+ os : [ ubuntu-latest ]
17
+ php : [7.2]
18
+
19
+ name : PHP${{matrix.php}} - ${{matrix.os}}
20
+
21
+ steps :
22
+ - name : Clone Repo
23
+ uses : actions/checkout@v1
24
+
25
+ - name : Setup PHP
26
+ uses : shivammathur/setup-php@v2
27
+ with :
28
+ php-version : ${{ matrix.php }}
29
+ extensions : mysqli, mbstring, sqlsrv
30
+ tools : phpunit:8.5.13
31
+
32
+ - name : Install Dependencies
33
+ run : composer install --prefer-dist --no-interaction
34
+
35
+ - name : Execute Tests
36
+ run : phpunit
37
+
38
+ - name : CodeCov
39
+ uses : codecov/codecov-action@v1
40
+
41
+
Original file line number Diff line number Diff line change
1
+ name : Build PHP 7.3
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ pull_request :
7
+ branches : [ main ]
8
+
9
+ jobs :
10
+ test :
11
+ runs-on : ${{ matrix.os }}
12
+
13
+ strategy :
14
+ fail-fast : true
15
+ matrix :
16
+ os : [ ubuntu-latest ]
17
+ php : [7.3]
18
+
19
+ name : PHP${{matrix.php}} - ${{matrix.os}}
20
+
21
+ steps :
22
+ - name : Clone Repo
23
+ uses : actions/checkout@v1
24
+
25
+ - name : Setup PHP
26
+ uses : shivammathur/setup-php@v2
27
+ with :
28
+ php-version : ${{ matrix.php }}
29
+ extensions : mysqli, mbstring, sqlsrv
30
+ tools : phpunit:8.5.13
31
+
32
+ - name : Install Dependencies
33
+ run : composer install --prefer-dist --no-interaction
34
+
35
+ - name : Execute Tests
36
+ run : phpunit
37
+
38
+ - name : CodeCov
39
+ uses : codecov/codecov-action@v1
40
+
41
+
42
+
Original file line number Diff line number Diff line change
1
+ name : Build PHP 7.4
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ pull_request :
7
+ branches : [ main ]
8
+
9
+ jobs :
10
+ test :
11
+ runs-on : ${{ matrix.os }}
12
+
13
+ strategy :
14
+ fail-fast : true
15
+ matrix :
16
+ os : [ ubuntu-latest ]
17
+ php : [7.4]
18
+
19
+ name : PHP${{matrix.php}} - ${{matrix.os}}
20
+
21
+ steps :
22
+ - name : Clone Repo
23
+ uses : actions/checkout@v1
24
+
25
+ - name : Setup PHP
26
+ uses : shivammathur/setup-php@v2
27
+ with :
28
+ php-version : ${{ matrix.php }}
29
+ extensions : mysqli, mbstring, sqlsrv
30
+ tools : phpunit:8.5.13
31
+
32
+ - name : Install Dependencies
33
+ run : composer install --prefer-dist --no-interaction
34
+
35
+ - name : Execute Tests
36
+ run : phpunit
37
+
38
+ - name : CodeCov
39
+ uses : codecov/codecov-action@v1
40
+
41
+
42
+
Original file line number Diff line number Diff line change
1
+ name : Build PHP 8.0
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ pull_request :
7
+ branches : [ main ]
8
+
9
+ jobs :
10
+ test :
11
+ runs-on : ${{ matrix.os }}
12
+ strategy :
13
+ fail-fast : true
14
+ matrix :
15
+ os : [ ubuntu-latest ]
16
+ php : [ 8.0 ]
17
+
18
+ name : PHP${{matrix.php}} - ${{matrix.os}}
19
+
20
+ steps :
21
+ - name : Clone Repo
22
+ uses : actions/checkout@v1
23
+
24
+ - name : Setup PHP
25
+ uses : shivammathur/setup-php@v2
26
+ with :
27
+ php-version : ${{ matrix.php }}
28
+ extensions : mysqli, mbstring, sqlsrv
29
+ tools : phpunit:8.5.13
30
+
31
+ - name : Shutdown Ubuntu MySQL
32
+ run : sudo service mysql stop
33
+
34
+ - name : Install Dependencies
35
+ run : composer install --prefer-dist --no-interaction
36
+
37
+ - name : Execute Tests
38
+ run : phpunit
39
+
40
+ - name : CodeCov
41
+ uses : codecov/codecov-action@v1
Original file line number Diff line number Diff line change
1
+ name : Build PHP 8.1
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ pull_request :
7
+ branches : [ main ]
8
+
9
+ jobs :
10
+ test :
11
+ runs-on : ${{ matrix.os }}
12
+
13
+ strategy :
14
+ fail-fast : true
15
+ matrix :
16
+ os : [ ubuntu-latest ]
17
+ php : [8.1]
18
+
19
+ name : PHP${{matrix.php}} - ${{matrix.os}}
20
+
21
+ steps :
22
+ - name : Clone Repo
23
+ uses : actions/checkout@v1
24
+
25
+ - name : Setup PHP
26
+ uses : shivammathur/setup-php@v2
27
+ with :
28
+ php-version : ${{ matrix.php }}
29
+ extensions : mysqli, mbstring, sqlsrv
30
+ tools : phpunit:9.5.20, composer
31
+
32
+
33
+ - name : Install Dependencies
34
+ run : composer install --prefer-dist --no-interaction
35
+
36
+ - name : Execute Tests
37
+ run : phpunit
38
+
39
+ - name : CodeCov
40
+ uses : codecov/codecov-action@v1
41
+
42
+ - name : SonarCloud
43
+ uses : SonarSource/sonarcloud-github-action@master
44
+ env :
45
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
46
+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
Original file line number Diff line number Diff line change
1
+ name : Build PHP 8.2
2
+
3
+ on :
4
+ push :
5
+ branches : [ main, dev ]
6
+ pull_request :
7
+ branches : [ main ]
8
+
9
+ jobs :
10
+ test :
11
+ runs-on : ${{ matrix.os }}
12
+
13
+ strategy :
14
+ fail-fast : true
15
+ matrix :
16
+ os : [ ubuntu-latest ]
17
+ php : [8.2]
18
+
19
+ name : PHP${{matrix.php}} - ${{matrix.os}}
20
+
21
+ steps :
22
+ - name : Clone Repo
23
+ uses : actions/checkout@v1
24
+
25
+ - name : Setup PHP
26
+ uses : shivammathur/setup-php@v2
27
+ with :
28
+ php-version : ${{ matrix.php }}
29
+ extensions : mysqli, mbstring, sqlsrv
30
+ tools : phpunit:9.5.20, composer
31
+
32
+ - name : Shutdown Ubuntu MySQL
33
+ run : sudo service mysql stop
34
+
35
+ - name : Install Dependencies
36
+ run : composer install --prefer-dist --no-interaction
37
+
38
+ - name : Execute Tests
39
+ run : phpunit
40
+
41
+ - name : CodeCov
42
+ uses : codecov/codecov-action@v1
You can’t perform that action at this time.
0 commit comments