1- name : integration
1+ name : client
22on :
33 push :
44 paths-ignore :
@@ -56,18 +56,18 @@ jobs:
5656 QUERYX_ENV : test
5757 DATABASE_URL : postgresql://postgres:postgres@localhost:5432/queryx_test?sslmode=disable
5858 run : |
59- cd internal/integration
59+ cd internal/integration/client
6060 queryx db:migrate --schema postgresql.hcl
6161 queryx db:migrate --schema postgresql.hcl
6262 queryx generate --schema postgresql.hcl
6363 - name : golangci-lint
6464 uses : golangci/golangci-lint-action@v3
6565 with :
6666 args : --timeout=3m
67- working-directory : internal/integration/db
67+ working-directory : internal/integration/client/ db
6868 - name : go test
6969 run : |
70- cd internal/integration
70+ cd internal/integration/client
7171 go test -v ./...
7272 postgresql-typescript :
7373 needs : [build]
@@ -98,21 +98,17 @@ jobs:
9898 QUERYX_ENV : test
9999 DATABASE_URL : postgresql://postgres:postgres@localhost:5432/queryx_test?sslmode=disable
100100 run : |
101- cd internal/integration
101+ cd internal/integration/client
102102 queryx db:migrate --schema postgresql.hcl
103103 queryx generate --schema postgresql.hcl
104104 - name : yarn install
105105 run : |
106- cd internal/integration
106+ cd internal/integration/client
107107 yarn install
108108 - name : yarn test
109109 run : |
110- cd internal/integration
110+ cd internal/integration/client
111111 yarn test
112- # - name: yarn tsc
113- # run: |
114- # cd internal/integration
115- # yarn tsc
116112 mysql-golang :
117113 needs : [build]
118114 runs-on : ubuntu-latest
@@ -142,18 +138,18 @@ jobs:
142138 QUERYX_ENV : test
143139 DATABASE_URL : mysql://root:@localhost:3306/queryx_test
144140 run : |
145- cd internal/integration
141+ cd internal/integration/client
146142 queryx db:migrate --schema mysql.hcl
147143 queryx db:migrate --schema mysql.hcl
148144 queryx generate --schema mysql.hcl
149145 - name : golangci-lint
150146 uses : golangci/golangci-lint-action@v3
151147 with :
152148 args : --timeout=3m
153- working-directory : internal/integration/db
149+ working-directory : internal/integration/client/ db
154150 - name : go test
155151 run : |
156- cd internal/integration
152+ cd internal/integration/client
157153 go test -v ./...
158154 mysql-typescript :
159155 needs : [build]
@@ -184,21 +180,17 @@ jobs:
184180 QUERYX_ENV : test
185181 DATABASE_URL : mysql://root:@localhost:3306/queryx_test
186182 run : |
187- cd internal/integration
183+ cd internal/integration/client
188184 queryx db:migrate --schema mysql.hcl
189185 queryx generate --schema mysql.hcl
190186 - name : yarn install
191187 run : |
192- cd internal/integration
188+ cd internal/integration/client
193189 yarn install
194190 - name : yarn test
195191 run : |
196- cd internal/integration
192+ cd internal/integration/client
197193 yarn test
198- # - name: yarn tsc
199- # run: |
200- # cd internal/integration
201- # yarn tsc
202194 sqlite-golang :
203195 needs : [build]
204196 runs-on : ubuntu-latest
@@ -214,18 +206,18 @@ jobs:
214206 QUERYX_ENV : test
215207 DATABASE_URL : sqlite:test.sqlite3
216208 run : |
217- cd internal/integration
209+ cd internal/integration/client
218210 queryx db:migrate --schema sqlite.hcl
219211 queryx db:migrate --schema sqlite.hcl
220212 queryx generate --schema sqlite.hcl
221213 - name : golangci-lint
222214 uses : golangci/golangci-lint-action@v3
223215 with :
224216 args : --timeout=3m
225- working-directory : internal/integration/db
217+ working-directory : internal/integration/client/ db
226218 - name : go test
227219 run : |
228- cd internal/integration
220+ cd internal/integration/client
229221 go test -v ./...
230222 sqlite-typescript :
231223 needs : [build]
@@ -242,18 +234,14 @@ jobs:
242234 QUERYX_ENV : test
243235 DATABASE_URL : sqlite:test.sqlite3
244236 run : |
245- cd internal/integration
237+ cd internal/integration/client
246238 queryx db:migrate --schema sqlite.hcl
247239 queryx generate --schema sqlite.hcl
248240 - name : yarn install
249241 run : |
250- cd internal/integration
242+ cd internal/integration/client
251243 yarn install
252244 - name : yarn test
253245 run : |
254- cd internal/integration
246+ cd internal/integration/client
255247 yarn test
256- # - name: yarn tsc
257- # run: |
258- # cd internal/integration
259- # yarn tsc
0 commit comments