3
3
4
4
# https://github.com/ikalnytskyi/action-setup-postgres
5
5
# https://github.com/marketplace/actions/actions-setup-mysql
6
+ # https://github.com/potatoqualitee/mssqlsuite
6
7
7
8
name : " Continuous Integration"
8
9
14
15
branches :
15
16
- main
16
17
18
+
17
19
env :
18
20
PHP_EXTENSIONS : json, mbstring, simplexml, sodium, odbc, pdo_odbc, mysqli, pdo_mysql, pgsql, pdo_pgsql, sqlite3, pdo_sqlite, sqlsrv, pdo_sqlsrv, pdo_firebird
19
21
PHP_INI_VALUES : memory_limit=-1, error_reporting=-1, display_errors=On
@@ -116,7 +118,7 @@ jobs:
116
118
- name : " Install Postgres"
117
119
uses : ikalnytskyi/action-setup-postgres@v6
118
120
with :
119
- postgres-version : 14
121
+ # postgres-version: 14
120
122
username : postgres
121
123
password : root
122
124
database : dbtest
@@ -130,6 +132,16 @@ jobs:
130
132
- name : " Create MySQL test database"
131
133
run : mysql --user="root" --host="127.0.0.1" -e "CREATE DATABASE dbtest character set UTF8mb4 collate utf8mb4_bin;"
132
134
135
+ - name : " Install MSSQL Server (Linux)"
136
+ uses :
potatoqualitee/[email protected]
137
+ with :
138
+ version : 2022
139
+ install : sqlengine, sqlclient, sqlpackage
140
+ sa-password : " DBtestytest42"
141
+
142
+ - name : " Create MSSQL test database"
143
+ run : sqlcmd -S 127.0.0.1 -U sa -P DBtestytest42 -Q "CREATE DATABASE dbtest;"
144
+
133
145
# - name: "Install Firebird (Linux/Docker)"
134
146
# if: ${{ runner.os == 'Linux' }}
135
147
@@ -142,16 +154,6 @@ jobs:
142
154
# if: ${{ runner.os == 'Windows' }}
143
155
# run: choco install firebird --version=5.0.0 -params '/SuperClassic/ClientAndDevTools'
144
156
145
- - name : " Install MSSQL Server (Linux)"
146
- uses :
potatoqualitee/[email protected]
147
- with :
148
- version : 2022
149
- install : sqlengine, sqlclient, sqlpackage
150
- sa-password : " DBtestytest42"
151
-
152
- - name : " Create MySQL test database"
153
- run : sqlcmd -S 127.0.0.1 -U sa -P DBtestytest42 -Q "CREATE DATABASE dbtest;"
154
-
155
157
- name : " Install PHP with extensions"
156
158
uses : shivammathur/setup-php@v2
157
159
with :
0 commit comments