Skip to content

Commit 8a53387

Browse files
author
Eyo Chen
committed
fix: install docker
1 parent 7539e65 commit 8a53387

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,15 @@ jobs:
1010
test:
1111
runs-on: ubuntu-latest
1212

13-
services:
14-
mongodb-test:
15-
image: mongo:latest
16-
ports:
17-
- 27017:27017
18-
options: >-
19-
--health-cmd "mongosh --eval 'db.runCommand({ ping: 1 })'"
20-
--health-interval 10s
21-
--health-timeout 5s
22-
--health-retries 5
23-
2413
steps:
2514
- name: Checkout code
2615
uses: actions/checkout@v4
2716

17+
- name: Set up Docker Buildx
18+
uses: docker/setup-buildx-action@v3
19+
with:
20+
install: true
21+
2822
- name: Set up Python
2923
uses: actions/setup-python@v5
3024
with:
@@ -43,6 +37,8 @@ jobs:
4337
run: make generate
4438

4539
- name: Run tests
40+
env:
41+
PYTHONPATH: ./src
4642
run: make test
4743

4844
- name: Cleanup

0 commit comments

Comments
 (0)