Some bugfix in CI

This commit is contained in:
IgorVolochay
2026-08-25 17:38:51 +03:00
parent df50140fcd
commit 130c1c7d5f
2 changed files with 5 additions and 15 deletions
+5 -5
View File
@@ -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