@@ -35,39 +35,45 @@ jobs:
3535 run : php vendor/bin/phpunit --stop-on-defect --testdox
3636 env :
3737 TEST_DB_ENGINE : sqlite
38- - name : Run Tests [postgres]
38+ - name : Run Tests [postgres 15 ]
3939 run : php vendor/bin/phpunit --stop-on-defect --testdox
4040 env :
4141 TEST_DB_ENGINE : pgsql
42- TEST_DB_PORT : ${{ job.services.postgres .ports[5432] }}
42+ TEST_DB_PORT : ${{ job.services.postgres15 .ports[5432] }}
4343 TEST_DB_PASSWORD : postgres
44- - name : Run Tests [mysql 5.7 ]
44+ - name : Run Tests [postgres 18 ]
4545 run : php vendor/bin/phpunit --stop-on-defect --testdox
4646 env :
47- TEST_DB_ENGINE : mysql
48- TEST_DB_PORT : ${{ job.services.mysql.ports[3306] }}
49- - name : Run Tests [mysql 8.0]
47+ TEST_DB_ENGINE : pgsql
48+ TEST_DB_PORT : ${{ job.services.postgres18.ports[5432] }}
49+ TEST_DB_PASSWORD : postgres
50+ - name : Run Tests [mysql 8.4]
5051 run : php vendor/bin/phpunit --stop-on-defect --testdox
5152 env :
5253 TEST_DB_ENGINE : mysql
5354 TEST_DB_PORT : ${{ job.services.mysql8.ports[3306] }}
5455 services :
55- mysql :
56- image : mysql:5.7
56+ mysql8 :
57+ image : mysql:8.4
5758 env :
5859 MYSQL_ALLOW_EMPTY_PASSWORD : yes
5960 MYSQL_DATABASE : vanilo_test
6061 ports :
6162 - 3306
62- mysql8 :
63- image : mysql:8.0
63+ postgres15 :
64+ image : postgres:15
6465 env :
65- MYSQL_ALLOW_EMPTY_PASSWORD : yes
66- MYSQL_DATABASE : vanilo_test
66+ POSTGRES_PASSWORD : postgres
67+ POSTGRES_DB : vanilo_test
6768 ports :
68- - 3306
69- postgres :
70- image : postgres
69+ - 5432
70+ options : >-
71+ --health-cmd pg_isready
72+ --health-interval 10s
73+ --health-timeout 5s
74+ --health-retries 5
75+ postgres18 :
76+ image : postgres:18
7177 env :
7278 POSTGRES_PASSWORD : postgres
7379 POSTGRES_DB : vanilo_test
0 commit comments