|
1 | 1 | name: "Continuous Integration"
|
2 | 2 | on:
|
3 |
| - - pull_request |
4 |
| - - push |
| 3 | + pull_request: |
| 4 | + push: |
| 5 | + branches: |
| 6 | + - master |
| 7 | + - 3.0.x |
| 8 | + - 2.0.x |
| 9 | + - 1.0.x |
| 10 | + - 0.2.x |
5 | 11 | jobs:
|
6 | 12 | phpunit-smoke-check:
|
7 | 13 | name: "PHPUnit with SQLite"
|
8 |
| - runs-on: "ubuntu-20.04" |
| 14 | + runs-on: ubuntu-latest |
9 | 15 | strategy:
|
10 | 16 | matrix:
|
11 | 17 | php-version:
|
|
30 | 36 | run: "vendor/bin/phpunit"
|
31 | 37 | # phpunit-oci8:
|
32 | 38 | # name: "PHPUnit on OCI8"
|
33 |
| -# runs-on: "ubuntu-20.04" |
| 39 | +# runs-on: ubuntu-latest |
34 | 40 | # needs: "phpunit-smoke-check"
|
35 | 41 | # strategy:
|
36 | 42 | # matrix:
|
|
75 | 81 | # run: "vendor/bin/phpunit"
|
76 | 82 | phpunit-postgres:
|
77 | 83 | name: "PHPUnit with PostgreSQL"
|
78 |
| - runs-on: "ubuntu-20.04" |
79 |
| - needs: "phpunit-smoke-check" |
| 84 | + runs-on: ubuntu-latest |
| 85 | + needs: phpunit-smoke-check |
80 | 86 | strategy:
|
81 | 87 | matrix:
|
82 | 88 | php-version:
|
@@ -115,8 +121,8 @@ jobs:
|
115 | 121 | run: "vendor/bin/phpunit"
|
116 | 122 | phpunit-mariadb:
|
117 | 123 | name: "PHPUnit with MariaDB"
|
118 |
| - runs-on: "ubuntu-20.04" |
119 |
| - needs: "phpunit-smoke-check" |
| 124 | + runs-on: ubuntu-latest |
| 125 | + needs: phpunit-smoke-check |
120 | 126 | strategy:
|
121 | 127 | matrix:
|
122 | 128 | php-version:
|
@@ -159,8 +165,8 @@ jobs:
|
159 | 165 | run: "vendor/bin/phpunit"
|
160 | 166 | phpunit-mysql:
|
161 | 167 | name: "PHPUnit with MySQL"
|
162 |
| - runs-on: "ubuntu-20.04" |
163 |
| - needs: "phpunit-smoke-check" |
| 168 | + runs-on: ubuntu-latest |
| 169 | + needs: phpunit-smoke-check |
164 | 170 | strategy:
|
165 | 171 | matrix:
|
166 | 172 | php-version:
|
@@ -205,8 +211,8 @@ jobs:
|
205 | 211 | run: "vendor/bin/phpunit"
|
206 | 212 | phpunit-mssql:
|
207 | 213 | name: "PHPUnit with SQL Server"
|
208 |
| - runs-on: "ubuntu-20.04" |
209 |
| - needs: "phpunit-smoke-check" |
| 214 | + runs-on: ubuntu-latest |
| 215 | + needs: phpunit-smoke-check |
210 | 216 | strategy:
|
211 | 217 | matrix:
|
212 | 218 | php-version:
|
|
0 commit comments