@@ -1541,18 +1541,6 @@ Install docker using the following commands and then logout and login for the ch
1541
1541
1542
1542
To run the docker tests run "build_all.sh" and "run_all.sh" from the docker directory. The output should be:
1543
1543
1544
- ================================================
1545
- CentOS 8 (PHP 8.1)
1546
- ================================================
1547
- [1/4] Starting MariaDB 10.7 ..... done
1548
- [2/4] Starting PostgreSQL 12.10 .. done
1549
- [3/4] Starting SQLServer 2017 ... skipped
1550
- [4/4] Cloning PHP-CRUD-API v2 ... skipped
1551
- ------------------------------------------------
1552
- mysql: 119 tests ran in 1336 ms, 1 skipped, 0 failed
1553
- pgsql: 119 tests ran in 1316 ms, 1 skipped, 0 failed
1554
- sqlsrv: skipped, driver not loaded
1555
- sqlite: 119 tests ran in 958 ms, 13 skipped, 0 failed
1556
1544
================================================
1557
1545
Debian 10 (PHP 7.3)
1558
1546
================================================
@@ -1561,10 +1549,10 @@ To run the docker tests run "build_all.sh" and "run_all.sh" from the docker dire
1561
1549
[3/4] Starting SQLServer 2017 ... skipped
1562
1550
[4/4] Cloning PHP-CRUD-API v2 ... skipped
1563
1551
------------------------------------------------
1564
- mysql: 119 tests ran in 1276 ms, 1 skipped, 0 failed
1565
- pgsql: 119 tests ran in 1364 ms, 1 skipped, 0 failed
1552
+ mysql: 120 tests ran in 779 ms, 1 skipped, 0 failed
1553
+ pgsql: 120 tests ran in 769 ms, 1 skipped, 0 failed
1566
1554
sqlsrv: skipped, driver not loaded
1567
- sqlite: 119 tests ran in 948 ms, 13 skipped, 0 failed
1555
+ sqlite: 120 tests ran in 672 ms, 13 skipped, 0 failed
1568
1556
================================================
1569
1557
Debian 11 (PHP 7.4)
1570
1558
================================================
@@ -1573,34 +1561,46 @@ To run the docker tests run "build_all.sh" and "run_all.sh" from the docker dire
1573
1561
[3/4] Starting SQLServer 2017 ... skipped
1574
1562
[4/4] Cloning PHP-CRUD-API v2 ... skipped
1575
1563
------------------------------------------------
1576
- mysql: 119 tests ran in 1255 ms, 1 skipped, 0 failed
1577
- pgsql: 119 tests ran in 1329 ms, 1 skipped, 0 failed
1564
+ mysql: 120 tests ran in 820 ms, 1 skipped, 0 failed
1565
+ pgsql: 120 tests ran in 780 ms, 1 skipped, 0 failed
1566
+ sqlsrv: skipped, driver not loaded
1567
+ sqlite: 120 tests ran in 681 ms, 13 skipped, 0 failed
1568
+ ================================================
1569
+ Debian 12 (PHP 8.2)
1570
+ ================================================
1571
+ [1/4] Starting MariaDB 10.11 .... done
1572
+ [2/4] Starting PostgreSQL 15.3 .. done
1573
+ [3/4] Starting SQLServer 2019 ... skipped
1574
+ [4/4] Cloning PHP-CRUD-API v2 ... skipped
1575
+ ------------------------------------------------
1576
+ mysql: 120 tests ran in 880 ms, 1 skipped, 0 failed
1577
+ pgsql: 120 tests ran in 796 ms, 1 skipped, 0 failed
1578
1578
sqlsrv: skipped, driver not loaded
1579
- sqlite: 119 tests ran in 972 ms, 13 skipped, 0 failed
1579
+ sqlite: 120 tests ran in 681 ms, 13 skipped, 0 failed
1580
1580
================================================
1581
- Debian 9 (PHP 7.0 )
1581
+ RockyLinux 8 (PHP 7.2 )
1582
1582
================================================
1583
- [1/4] Starting MariaDB 10.1 ..... done
1584
- [2/4] Starting PostgreSQL 9.6 ... done
1583
+ [1/4] Starting MariaDB 10.3 ..... done
1584
+ [2/4] Starting PostgreSQL 11 .. skipped
1585
1585
[3/4] Starting SQLServer 2017 ... skipped
1586
1586
[4/4] Cloning PHP-CRUD-API v2 ... skipped
1587
1587
------------------------------------------------
1588
- mysql: 119 tests ran in 1475 ms, 1 skipped, 0 failed
1589
- pgsql: 119 tests ran in 1394 ms, 1 skipped, 0 failed
1588
+ mysql: 120 tests ran in 835 ms, 1 skipped, 0 failed
1589
+ pgsql: skipped, driver not loaded
1590
1590
sqlsrv: skipped, driver not loaded
1591
- sqlite: 119 tests ran in 1065 ms, 13 skipped, 0 failed
1591
+ sqlite: 120 tests ran in 684 ms, 13 skipped, 0 failed
1592
1592
================================================
1593
- Ubuntu 16.04 (PHP 7 .0)
1593
+ RockyLinux 9 (PHP 8 .0)
1594
1594
================================================
1595
- [1/4] Starting MariaDB 10.0 ..... done
1596
- [2/4] Starting PostgreSQL 9.5 ... done
1597
- [3/4] Starting SQLServer 2017 ... done
1595
+ [1/4] Starting MariaDB 10.5 ..... done
1596
+ [2/4] Starting PostgreSQL 12.10 .. skipped
1597
+ [3/4] Starting SQLServer 2017 ... skipped
1598
1598
[4/4] Cloning PHP-CRUD-API v2 ... skipped
1599
1599
------------------------------------------------
1600
- mysql: 119 tests ran in 1434 ms, 1 skipped, 0 failed
1601
- pgsql: 119 tests ran in 1432 ms, 1 skipped, 0 failed
1602
- sqlsrv: 119 tests ran in 8634 ms, 1 skipped, 0 failed
1603
- sqlite: skipped, driver not loaded
1600
+ mysql: 120 tests ran in 825 ms, 1 skipped, 0 failed
1601
+ pgsql: skipped, driver not loaded
1602
+ sqlsrv: skipped, driver not loaded
1603
+ sqlite: 120 tests ran in 678 ms, 13 skipped, 0 failed
1604
1604
================================================
1605
1605
Ubuntu 18.04 (PHP 7.2)
1606
1606
================================================
@@ -1609,10 +1609,10 @@ To run the docker tests run "build_all.sh" and "run_all.sh" from the docker dire
1609
1609
[3/4] Starting SQLServer 2017 ... skipped
1610
1610
[4/4] Cloning PHP-CRUD-API v2 ... skipped
1611
1611
------------------------------------------------
1612
- mysql: 119 tests ran in 1687 ms, 1 skipped, 0 failed
1613
- pgsql: 119 tests ran in 1393 ms, 1 skipped, 0 failed
1612
+ mysql: 120 tests ran in 1102 ms, 1 skipped, 0 failed
1613
+ pgsql: 120 tests ran in 812 ms, 1 skipped, 0 failed
1614
1614
sqlsrv: skipped, driver not loaded
1615
- sqlite: 119 tests ran in 1158 ms, 13 skipped, 0 failed
1615
+ sqlite: 120 tests ran in 710 ms, 13 skipped, 0 failed
1616
1616
================================================
1617
1617
Ubuntu 20.04 (PHP 7.4)
1618
1618
================================================
@@ -1621,10 +1621,10 @@ To run the docker tests run "build_all.sh" and "run_all.sh" from the docker dire
1621
1621
[3/4] Starting SQLServer 2019 ... done
1622
1622
[4/4] Cloning PHP-CRUD-API v2 ... skipped
1623
1623
------------------------------------------------
1624
- mysql: 119 tests ran in 2096 ms, 1 skipped, 0 failed
1625
- pgsql: 119 tests ran in 1368 ms, 1 skipped, 0 failed
1626
- sqlsrv: 119 tests ran in 8410 ms, 1 skipped, 0 failed
1627
- sqlite: 119 tests ran in 1053 ms, 13 skipped, 0 failed
1624
+ mysql: 120 tests ran in 1256 ms, 1 skipped, 0 failed
1625
+ pgsql: 120 tests ran in 804 ms, 1 skipped, 0 failed
1626
+ sqlsrv: 120 tests ran in 4058 ms, 1 skipped, 0 failed
1627
+ sqlite: 120 tests ran in 680 ms, 13 skipped, 0 failed
1628
1628
================================================
1629
1629
Ubuntu 22.04 (PHP 8.1)
1630
1630
================================================
@@ -1633,19 +1633,19 @@ To run the docker tests run "build_all.sh" and "run_all.sh" from the docker dire
1633
1633
[3/4] Starting SQLServer 2019 ... skipped
1634
1634
[4/4] Cloning PHP-CRUD-API v2 ... skipped
1635
1635
------------------------------------------------
1636
- mysql: 119 tests ran in 6882 ms, 1 skipped, 0 failed
1637
- pgsql: 119 tests ran in 2570 ms, 1 skipped, 0 failed
1636
+ mysql: 120 tests ran in 1199 ms, 1 skipped, 0 failed
1637
+ pgsql: 120 tests ran in 760 ms, 1 skipped, 0 failed
1638
1638
sqlsrv: skipped, driver not loaded
1639
- sqlite: 119 tests ran in 2548 ms, 13 skipped, 0 failed
1639
+ sqlite: 120 tests ran in 668 ms, 13 skipped, 0 failed
1640
1640
1641
1641
The above test run (including starting up the databases) takes less than 5 minutes on my slow laptop.
1642
1642
1643
1643
$ ./run.sh
1644
- 1) centos8
1645
- 2) debian10
1646
- 3) debian11
1647
- 4) debian9
1648
- 5) ubuntu16
1644
+ 1) debian10
1645
+ 2) debian11
1646
+ 3) debian12
1647
+ 4) rockylinux8
1648
+ 5) rockylinux9
1649
1649
6) ubuntu18
1650
1650
7) ubuntu20
1651
1651
8) ubuntu22
@@ -1658,10 +1658,10 @@ The above test run (including starting up the databases) takes less than 5 minut
1658
1658
[3/4] Starting SQLServer 2017 ... skipped
1659
1659
[4/4] Cloning PHP-CRUD-API v2 ... skipped
1660
1660
------------------------------------------------
1661
- mysql: 119 tests ran in 1687 ms, 1 skipped, 0 failed
1662
- pgsql: 119 tests ran in 1393 ms, 1 skipped, 0 failed
1661
+ mysql: 120 tests ran in 1102 ms, 1 skipped, 0 failed
1662
+ pgsql: 120 tests ran in 812 ms, 1 skipped, 0 failed
1663
1663
sqlsrv: skipped, driver not loaded
1664
- sqlite: 119 tests ran in 1158 ms, 13 skipped, 0 failed
1664
+ sqlite: 120 tests ran in 710 ms, 13 skipped, 0 failed
1665
1665
root@b7ab9472e08f:/php-crud-api#
1666
1666
1667
1667
As you can see the "run.sh" script gives you access to a prompt in the chosen docker environment.
0 commit comments