Visitar URL original
Merge branch 'QA_5_2' · phpmyadmin/phpmyadmin@28cd377 · GitHub
Skip to content

Commit 28cd377

Browse files
committed
Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br>
2 parents 055f071 + 0ac0af5 commit 28cd377

82 files changed

Lines changed: 917 additions & 837 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/tests.yml‎

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,3 +190,47 @@ jobs:
190190
with:
191191
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
192192
coverage-reports: build/logs/clover.xml
193+
194+
test-php-with-newer-phpunit:
195+
name: Test on PHP ${{ matrix.php }} with PHPUnit ${{ matrix.phpunit }}
196+
runs-on: ubuntu-latest
197+
strategy:
198+
fail-fast: false
199+
matrix:
200+
include:
201+
- { php: '8.3', phpunit: '12' }
202+
- { php: '8.4', phpunit: '13' }
203+
steps:
204+
- name: Checkout code
205+
uses: actions/checkout@v7
206+
with:
207+
persist-credentials: false
208+
209+
- name: Install gettext and generate translation files
210+
run: |
211+
sudo apt-get install -y gettext
212+
./bin/generate-mo --quiet
213+
214+
- name: Set up PHP ${{ matrix.php }}
215+
uses: shivammathur/setup-php@v2
216+
with:
217+
php-version: ${{ matrix.php }}
218+
extensions: mbstring, iconv, mysqli, zip, gd, bz2
219+
220+
- name: Update composer.json
221+
shell: bash
222+
env:
223+
PHPUNIT_VERSION: ${{ matrix.phpunit }}
224+
run: |
225+
composer config --unset platform --no-interaction --ansi
226+
composer remove --dev vimeo/psalm psalm/plugin-phpunit --no-update --no-interaction --ansi
227+
composer require --dev phpunit/phpunit:^"$PHPUNIT_VERSION" --no-update --no-interaction --ansi
228+
composer validate --strict
229+
230+
- name: Install Composer dependencies
231+
uses: ramsey/composer-install@v4
232+
with:
233+
dependency-versions: highest
234+
235+
- name: Run PHP tests
236+
run: vendor/bin/phpunit --testsuite unit --no-coverage --no-logging --display-all-issues

0 commit comments

Comments
 (0)