Loading .github/workflows/edge-cloud-management-api.yml +0 −16 Original line number Diff line number Diff line Loading @@ -39,22 +39,6 @@ jobs: - name: Install tox run: pip install tox - name: Install MongoDB client run: sudo apt-get update && sudo apt-get install -y mongodb - name: Wait for MongoDB to be ready run: | for i in {30..0}; do if mongo --host localhost --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 2)'; then echo "MongoDB is up and running" break fi echo 'MongoDB is unavailable - sleeping' sleep 1 done env: MONGO_URI: "mongodb://test_admin:test_password@localhost:27017/test_db?authSource=admin" - name: Run tox for python 3.12 - tests only env: MONGO_URI: "mongodb://test_admin:test_password@localhost:27017/test_db?authSource=admin" Loading Loading
.github/workflows/edge-cloud-management-api.yml +0 −16 Original line number Diff line number Diff line Loading @@ -39,22 +39,6 @@ jobs: - name: Install tox run: pip install tox - name: Install MongoDB client run: sudo apt-get update && sudo apt-get install -y mongodb - name: Wait for MongoDB to be ready run: | for i in {30..0}; do if mongo --host localhost --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 2)'; then echo "MongoDB is up and running" break fi echo 'MongoDB is unavailable - sleeping' sleep 1 done env: MONGO_URI: "mongodb://test_admin:test_password@localhost:27017/test_db?authSource=admin" - name: Run tox for python 3.12 - tests only env: MONGO_URI: "mongodb://test_admin:test_password@localhost:27017/test_db?authSource=admin" Loading