File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,11 +33,11 @@ jobs:
33
33
python-version : ${{ matrix.python-version }}
34
34
- name : " Create MongoDB Replica Set"
35
35
run : |
36
- docker run --name mongodb -p 27017:27017 -e MONGO_INITDB_DATABASE=unittest --detach mongo:latest mongod --replSet rs --setParameter transactionLifetimeLimitSeconds=5
37
- until docker exec --tty mongodb mongosh 127.0.0.1:27017 --eval "db.runCommand({ ping: 1 })"; do
36
+ podman run --name mongodb -p 27017:27017 -e MONGO_INITDB_DATABASE=unittest --detach mongo:latest mongod --replSet rs --setParameter transactionLifetimeLimitSeconds=5
37
+ until podman exec --tty mongodb mongosh 127.0.0.1:27017 --eval "db.runCommand({ ping: 1 })"; do
38
38
sleep 1
39
39
done
40
- sudo docker exec --tty mongodb mongosh 127.0.0.1:27017 --eval "rs.initiate({\"_id\":\"rs\",\"members\":[{\"_id\":0,\"host\":\"127.0.0.1:27017\" }]})"
40
+ sudo podman exec --tty mongodb mongosh 127.0.0.1:27017 --eval "rs.initiate({\"_id\":\"rs\",\"members\":[{\"_id\":0,\"host\":\"127.0.0.1:27017\" }]})"
41
41
- name : Install package and pytest
42
42
run : |
43
43
python -m pip install .
You can’t perform that action at this time.
0 commit comments