File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,40 @@ jobs:
124124 path : " coverage*.xml"
125125
126126
127+ phpunit-deprecations :
128+ name : " PHPUnit (fail on deprecations)"
129+ runs-on : " ubuntu-24.04"
130+
131+ steps :
132+ - name : " Checkout"
133+ uses : " actions/checkout@v5"
134+ with :
135+ fetch-depth : 2
136+
137+ - name : " Install PHP"
138+ uses : " shivammathur/setup-php@v2"
139+ with :
140+ php-version : " 8.5"
141+ extensions : " apcu, pdo, sqlite3"
142+ coverage : " pcov"
143+ ini-values : " zend.assertions=1, apc.enable_cli=1"
144+
145+ - name : " Allow dev dependencies"
146+ run : composer config minimum-stability dev
147+
148+ - name : " Install dependencies with Composer"
149+ uses : " ramsey/composer-install@v3"
150+ with :
151+ composer-options : " --ignore-platform-req=php+"
152+ dependency-versions : " highest"
153+
154+ - name : " Run PHPUnit"
155+ run : " vendor/bin/phpunit -c ci/github/phpunit/sqlite3.xml --fail-on-deprecation"
156+ env :
157+ ENABLE_SECOND_LEVEL_CACHE : 0
158+ ENABLE_NATIVE_LAZY_OBJECTS : 1
159+
160+
127161 phpunit-postgres :
128162 name : " PHPUnit with PostgreSQL"
129163 runs-on : " ubuntu-22.04"
You can’t perform that action at this time.
0 commit comments