Skip to content

Commit f1815f4

Browse files
committed
fix: Adds necessary database drivers for testing
Adds sqlite3, mysql2, mysql, and pg drivers to the CI workflow. These drivers are required for running integration tests against different databases. Also, reorders some CI steps for better workflow.
1 parent 38d6ee8 commit f1815f4

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ jobs:
2323
- name: Install dependencies
2424
run: npx nypm@latest i
2525

26+
- name: Install sqlite3
27+
run: npx nypm@latest i sqlite3
28+
2629
- name: Playground prepare
2730
run: npm run dev:prepare
2831

@@ -57,11 +60,15 @@ jobs:
5760
- name: Install dependencies
5861
run: npx nypm@latest i
5962

63+
- name: Install mysql2
64+
run: npx nypm@latest i mysql2
65+
66+
- name: Install mysql
67+
run: sudo apt-get update && sudo apt-get install -y mariadb-client
68+
6069
- name: Playground prepare
6170
run: npm run dev:prepare
6271

63-
- name: Install mysql2
64-
run: npx nypm@latest i mysql2
6572

6673
- name: Install DB Clients
6774
run: sudo apt-get update && sudo apt-get install -y mariadb-client
@@ -101,12 +108,12 @@ jobs:
101108
- name: Install dependencies
102109
run: npx nypm@latest i
103110

104-
- name: Playground prepare
105-
run: npm run dev:prepare
106-
107111
- name: Install pg
108112
run: npx nypm@latest i pg
109113

114+
- name: Playground prepare
115+
run: npm run dev:prepare
116+
110117
- name: Install DB Clients
111118
run: sudo apt-get update && sudo apt-get install -y postgresql-client
112119

0 commit comments

Comments
 (0)