Browse Source

add mongo

pull/201/head
yedf2 4 years ago
parent
commit
e61b58adf5
  1. 11
      .github/workflows/tests.yml

11
.github/workflows/tests.yml

@ -21,13 +21,20 @@ jobs:
- /etc/timezone:/etc/timezone:ro
ports:
- 3306:3306
reids:
redis:
image: 'redis'
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
ports:
- 6379:6379
mongo:
image: 'yedf/mongo-rs'
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
ports:
- 27017:27017
steps:
- name: Set up Go 1.16
uses: actions/setup-go@v2
@ -45,4 +52,4 @@ jobs:
run: make lint
- name: Run test cover
run: sh helper/test-cover.sh
run: sh helper/test-cover.sh

Loading…
Cancel
Save