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