Skip to content

Commit 07fdad5

Browse files
committed
ci: run integration tests for Chi/Golang/MySQL
Part of #13
1 parent cae21bd commit 07fdad5

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.github/workflows/integration-tests.yml

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
application-port: 3010
3333
- service-name: 'express-ts'
3434
application-port: 3020
35+
- service-name: 'chi'
36+
application-port: 3030
3537
steps:
3638

3739
- name: Clone source code

docker/docker-compose.yaml

+14
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,17 @@ services:
5555
depends_on:
5656
mysql:
5757
condition: service_healthy
58+
59+
chi:
60+
build: ../examples/go/chi/mysql
61+
environment:
62+
- DB_NAME=test
63+
- DB_USER=test
64+
- DB_PASSWORD=test
65+
- DB_HOST=mysql # defaults to localhost
66+
- PORT=3030 # defaults to 3000
67+
ports:
68+
- '3030:3030'
69+
depends_on:
70+
mysql:
71+
condition: service_healthy

0 commit comments

Comments
 (0)