Some bugfix in CI
This commit is contained in:
@@ -39,12 +39,12 @@ jobs:
|
||||
pytest:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
MONGO_HOST: ${{ secrets.MONGO_HOST }}
|
||||
MONGO_PORT: ${{ secrets.MONGO_PORT }}
|
||||
MONGO_HOST: "127.0.0.1"
|
||||
MONGO_PORT: ${{ secrets.MONGO_PORT || '27017' }}
|
||||
MONGO_USER: ${{ secrets.MONGO_USER }}
|
||||
MONGO_PASS: ${{ secrets.MONGO_PASS }}
|
||||
RABBIT_HOST: ${{ secrets.RABBIT_HOST }}
|
||||
RABBIT_PORT: ${{ secrets.RABBIT_PORT }}
|
||||
RABBIT_HOST: "127.0.0.1"
|
||||
RABBIT_PORT: ${{ secrets.RABBIT_PORT || '5672' }}
|
||||
RABBIT_USER: ${{ secrets.RABBIT_USER }}
|
||||
RABBIT_PASS: ${{ secrets.RABBIT_PASS }}
|
||||
steps:
|
||||
@@ -61,7 +61,7 @@ jobs:
|
||||
- name: Start MongoDB
|
||||
run: |
|
||||
docker run -d --name mongodb \
|
||||
-p 27017:27017 \
|
||||
-p "${MONGO_PORT}:27017" \
|
||||
-e "MONGO_INITDB_ROOT_USERNAME=${MONGO_USER}" \
|
||||
-e "MONGO_INITDB_ROOT_PASSWORD=${MONGO_PASS}" \
|
||||
mongodb/mongodb-community-server
|
||||
|
||||
Reference in New Issue
Block a user