Skip to content

Commit 9018156

Browse files
committed
🚿
1 parent fce99a3 commit 9018156

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

.github/workflows/ci.yml

+13-11
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
# https://github.com/ikalnytskyi/action-setup-postgres
55
# https://github.com/marketplace/actions/actions-setup-mysql
6+
# https://github.com/potatoqualitee/mssqlsuite
67

78
name: "Continuous Integration"
89

@@ -14,6 +15,7 @@ on:
1415
branches:
1516
- main
1617

18+
1719
env:
1820
PHP_EXTENSIONS: json, mbstring, simplexml, sodium, odbc, pdo_odbc, mysqli, pdo_mysql, pgsql, pdo_pgsql, sqlite3, pdo_sqlite, sqlsrv, pdo_sqlsrv, pdo_firebird
1921
PHP_INI_VALUES: memory_limit=-1, error_reporting=-1, display_errors=On
@@ -116,7 +118,7 @@ jobs:
116118
- name: "Install Postgres"
117119
uses: ikalnytskyi/action-setup-postgres@v6
118120
with:
119-
postgres-version: 14
121+
# postgres-version: 14
120122
username: postgres
121123
password: root
122124
database: dbtest
@@ -130,6 +132,16 @@ jobs:
130132
- name: "Create MySQL test database"
131133
run: mysql --user="root" --host="127.0.0.1" -e "CREATE DATABASE dbtest character set UTF8mb4 collate utf8mb4_bin;"
132134

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+
133145
# - name: "Install Firebird (Linux/Docker)"
134146
# if: ${{ runner.os == 'Linux' }}
135147
# uses: juarezr/[email protected]
@@ -142,16 +154,6 @@ jobs:
142154
# if: ${{ runner.os == 'Windows' }}
143155
# run: choco install firebird --version=5.0.0 -params '/SuperClassic/ClientAndDevTools'
144156

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-
155157
- name: "Install PHP with extensions"
156158
uses: shivammathur/setup-php@v2
157159
with:

0 commit comments

Comments
 (0)