1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-23 18:29:15 +03:00
Commit Graph

160 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
1d1c55e250 Move test directory to tests
- Related to #18512

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-11-30 10:47:42 -03:00
Maurício Meneghini Fauth
2aac253b47 Bump required Node version to 16
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-11-29 17:00:24 -03:00
Maurício Meneghini Fauth
42fdf26d9d Move some scripts to bin/internal
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-11-28 14:07:20 -03:00
Maurício Meneghini Fauth
f56284d80b Rename scripts directory to bin
- Related to #18512

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-11-24 20:40:25 -03:00
Maurício Meneghini Fauth
5d6d2f512b Add shellcheck to CI
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-10-25 15:17:22 -03:00
Maurício Meneghini Fauth
d888c29e0d Move ./js directory to ./resources/js
- Related to https://github.com/phpmyadmin/phpmyadmin/issues/18512

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-10-25 11:24:14 -03:00
Maurício Meneghini Fauth
ed3d632a99 Add composer.lock to version control
This will allow more control over the dependencies and will be easier to
investigate issues from past commits as the dependencies will be locked.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-10-04 11:25:26 -03:00
Maurício Meneghini Fauth
a88176fb6f Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-09-04 18:51:53 -03:00
Maurício Meneghini Fauth
5c22b79150 Update actions/checkout action to v4
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-09-04 18:31:43 -03:00
Maurício Meneghini Fauth
b178f989a4 Remove PHP 8.3 from experimental
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-09-03 10:27:14 -03:00
Maurício Meneghini Fauth
38ebd94bc3 Revert "Add windows-latest to tests workflow"
This reverts commit b55e2ab841.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-08-31 11:14:45 -03:00
Maurício Meneghini Fauth
6012fd2497 Fix mutation-tests workflow
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-08-31 11:10:11 -03:00
Maurício Meneghini Fauth
b55e2ab841 Add windows-latest to tests workflow
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-08-31 10:54:46 -03:00
Maurício Meneghini Fauth
3f694de440 Use PHP 8.4 instead of nightly in the tests workflow
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-08-31 10:39:25 -03:00
Maurício Meneghini Fauth
1ddcad2bfb Replace libraries/classes references with src
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-08-30 15:59:29 -03:00
Maurício Meneghini Fauth
f448358577 Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-08-30 10:55:36 -03:00
Maurício Meneghini Fauth
846381b501 Test with PHP 8.3
PHP 8.3 is not experimental anymore.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-08-30 10:48:46 -03:00
Maurício Meneghini Fauth
8d769908e6 Ignore Infection for mutations that causes error or timeout
Disable log verbosity

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-07-22 13:54:36 -03:00
Maurício Meneghini Fauth
c245ab5e9b Remove support for the Recode extension
The Recode extension is not supported in PHP >= 7.4.

- https://www.php.net/manual/en/intro.recode.php
- https://www.php.net/manual/en/migration74.removed-extensions.php

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-07-19 17:42:27 -03:00
Maurício Meneghini Fauth
239447fbc3 Refactor the Http\Factory\ServerRequestFactory class
- Implements Psr\Http\Message\ServerRequestFactoryInterface
- Add more unit tests

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-07-18 23:49:23 -03:00
Maurício Meneghini Fauth
1756956963 Remove Infection cli option that skips initial tests
Let the Infection collect the code coverage data.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-07-07 20:43:03 -03:00
Maurício Meneghini Fauth
4d031f1d1d Set full mutation test job timeout to 360 minutes
It has been cancelled after 60 minutes.

[ci skip]

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-07-03 11:51:24 -03:00
Maurício Meneghini Fauth
d53daaa752 Add --only-covering-test-cases option to Infection test
Execute only those test cases that cover mutated line, not the whole
file with covering test cases.

[ci skip]

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-07-01 14:38:56 -03:00
Maurício Meneghini Fauth
1f734f932c Fix mutation tests workflow for push events
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-05-31 02:31:58 -03:00
Maurício Meneghini Fauth
9b2f08303c Split mutation tests workflow into two jobs
Splits it into infection-changed-files and infection-all-files.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-05-30 14:19:58 -03:00
William Desportes
44ba9a5d22 Merge branch 'QA_5_2'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2023-05-29 13:16:36 +02:00
William Desportes
c4c0c8c834 Bump laminas/laminas-diactoros CI PHP requirement to PHP 8.0
Signed-off-by: William Desportes <williamdes@wdes.fr>
2023-05-29 13:12:18 +02:00
William Desportes
30274190f8 Fix test-php-psr7-implementations CI
Signed-off-by: William Desportes <williamdes@wdes.fr>
2023-05-29 12:05:23 +02:00
William Desportes
98cd2ab1de Fix the workflow for PSR-7 libraries
Ref: 3b4b4e287a

Signed-off-by: William Desportes <williamdes@wdes.fr>
2023-05-29 11:25:38 +02:00
Maurício Meneghini Fauth
74b1ffbf8c Merge the DB and table trigger controllers
They are equivalent in current form.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-05-25 15:39:36 -03:00
Kamil Tekiela
231ec1ba8b Remove QBE
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2023-05-19 11:21:46 +01:00
Maurício Meneghini Fauth
4566b3e063 Disable JIT for Selenium tests
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-05-09 23:37:39 -03:00
William Desportes
b12b3f2827 Merge branch 'QA_5_2'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2023-05-06 12:01:12 +02:00
William Desportes
3b4b4e287a Fix tests workflow for PSR7 libraries
Ref: 37bd7d981e

Signed-off-by: William Desportes <williamdes@wdes.fr>
2023-05-06 11:48:41 +02:00
Maurício Meneghini Fauth
19de21011a Run Infection for all files only once a day
It takes too much time for each push.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-04-12 20:31:57 -03:00
Maurício Meneghini Fauth
a54651b25c Fix deprecation for Command classes
Uses the AsCommand attribute instead of $defaultName.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-02-26 11:39:25 -03:00
Maurício Meneghini Fauth
efb0c451cd Upgrade PHPUnit to version 10.0
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-02-22 17:19:20 -03:00
Maurício Meneghini Fauth
9bc8257326 Remove failing workflow for arm32v6
- https://github.com/phpmyadmin/phpmyadmin/issues/18121

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-02-20 11:36:41 -03:00
Maurício Meneghini Fauth
98cf06a55d Mark arm32v6 tests as experimental
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-02-18 13:19:58 -03:00
Maurício Meneghini Fauth
040b4c582d Bump minimum PHP version to 8.1.0
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-02-10 19:20:51 -03:00
William Desportes
4f9e2f8a6c Merge branch 'QA_5_2'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2023-01-12 14:35:51 +04:00
William Desportes
f7d9321d02 Install infection using shivammathur/setup-php
Signed-off-by: William Desportes <williamdes@wdes.fr>
2023-01-12 14:29:00 +04:00
Maurício Meneghini Fauth
cdc2f37a1d Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-01-03 19:38:50 -03:00
Maurício Meneghini Fauth
5708596146 Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-12-24 13:52:00 -03:00
William Desportes
f023638693 Add tests for PSR-7 libs to the CI
Ref: #17975

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-12-22 09:38:14 +04:00
Maurício Meneghini Fauth
13890a947a Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-12-16 11:53:18 -03:00
Maurício Meneghini Fauth
d57b955802 Bump selenium/standalone-chrome docker image to latest v4
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
(cherry picked from commit dc5450d409)
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-12-15 13:46:07 -03:00
Maurício Meneghini Fauth
dc5450d409 Bump selenium/standalone-chrome docker image to latest v4
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-12-14 16:22:12 -03:00
William Desportes
aa0ca0a989 Allow phpstan analyse to fail
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-12-13 20:47:24 +01:00
William Desportes
ba23175d6a Allow composer validate to fail
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-12-13 20:38:20 +01:00