pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/sqlkata/querybuilder/commit/c08a66fd2f6fd1582d1b7ced933d8efa48f47c13

tps://github.githubassets.com/assets/repository-6534fbc3f5e83ac0.css" /> Add MS SQL configuration to CI workflow · sqlkata/querybuilder@c08a66f · GitHub
Skip to content

Commit c08a66f

Browse files
Add MS SQL configuration to CI workflow
1 parent 52f81c3 commit c08a66f

1 file changed

Lines changed: 20 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,16 @@ env:
1010
DOTNET_CLI_TELEMETRY_OPTOUT: true
1111

1212
# MYSQL DB
13-
DB_MYSQL_DATABASE: test_sqlkata
13+
DB_MYSQL_HOST: localhost
1414
DB_MYSQL_USER: root
1515
DB_MYSQL_PASSWORD: "root"
16-
DB_MYSQL_HOST: localhost
16+
DB_MYSQL_DATABASE: test_sqlkata
17+
18+
# MS SQL
19+
DB_MSSQL_HOST: localhost
20+
DB_MSSQL_USER: admin
21+
DB_MSSQL_PASSWORD: secret
22+
DB_MSSQL_DATABASE: test_sqlkata
1723
jobs:
1824
build:
1925
runs-on: ubuntu-latest
@@ -35,7 +41,18 @@ jobs:
3541
mysql -e 'CREATE DATABASE ${{ env.DB_MYSQL_DATABASE }};' -u${{ env.DB_MYSQL_USER }}
3642
mysql -e 'CREATE TABLE cars(id int primary key auto_increment);' -u${{ env.DB_MYSQL_USER }} ${{ env.DB_MYSQL_DATABASE }}
3743
mysql -e 'SHOW TABLES;' -u${{ env.DB_MYSQL_USER }} ${{ env.DB_MYSQL_DATABASE }}
38-
- name: Test
44+
45+
- name: Start MS SQL
46+
uses: potatoqualitee/[email protected]
47+
with:
48+
install: sqlengine, sqlclient
49+
admin-username: ${{ env.DB_MSSQL_USER }}
50+
sa-password: ${{ env.DB_MSSQL_PASSWORD }}
51+
52+
- name: Test connection with custom admin user
53+
run: sqlcmd -S ${{ env.DB_MSSQL_HOST }} -U ${{ env.DB_MSSQL_USER }} -P ${{ env.DB_MSSQL_PASSWORD }} -d ${{ env.DB_MSSQL_DATABASE }} -Q "SELECT @@version;" -C
54+
55+
- name: Run Test
3956
run: dotnet test --no-build --verbosity normal
4057
env:
4158
SQLKATA_MYSQL_HOST: ${{ env.DB_MYSQL_HOST }}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy