fix tests

This commit is contained in:
Dmitry Afanasyev 2023-04-07 02:23:20 +03:00
parent 2b23a4df3f
commit 3ea5b0c1ee
2 changed files with 7 additions and 6 deletions

View File

@ -72,4 +72,5 @@ jobs:
run: |
poetry run poetry check
poetry run pip check
poetry run safety check --full-report && pip-audit
poetry run safety check --full-report
poetry run pip-audit

View File

@ -1,7 +1,7 @@
version: '3.9'
networks:
transport_bot_network:
test_transport_bot_network:
name:
"test_transport_bot_network"
ipam:
@ -15,13 +15,13 @@ services:
hostname: "selenoid_host"
restart: unless-stopped
networks:
transport_bot_network:
test_transport_bot_network:
ipv4_address: 200.10.0.10
volumes:
- ../deploy/browsers.json:/etc/selenoid/browsers.json:ro
- /var/run/docker.sock:/var/run/docker.sock
command: ["-conf", "/etc/selenoid/browsers.json", "-limit", "10",
"-container-network", "transport_bot_network", "-timeout", "30s"]
"-container-network", "test_transport_bot_network", "-timeout", "30s"]
expose:
- "4444"
@ -34,7 +34,7 @@ services:
image: "transport_bot:latest"
build:
context: ..
dockerfile: ../deploy/Dockerfile
dockerfile: deploy/Dockerfile
args:
USER: root
restart: unless-stopped
@ -46,5 +46,5 @@ services:
volumes:
- /etc/localtime:/etc/localtime:ro
networks:
transport_bot_network:
test_transport_bot_network:
ipv4_address: 200.10.0.11