This commit is contained in:
Pavel 2024-06-24 13:38:04 +03:00
parent e01e3f44b5
commit 07bd3376d2

@ -78,7 +78,7 @@ services:
init: true init: true
build: build:
context: ../.. context: ../..
dockerfile: testDockerfile dockerfile: TestsDockerfile
depends_on: depends_on:
test-postgres: test-postgres:
condition: service_healthy condition: service_healthy
@ -86,8 +86,8 @@ services:
# condition: service_healthy # condition: service_healthy
# volumes: # volumes:
# - ./../..:/app:ro # - ./../..:/app:ro
# command: [ "go", "test", "./test", "-run", "TestFoo" ] # command: [ "go", "test", "./tests", "-run", "TestFoo" ]
command: [ "go", "test", "-parallel", "1", "./test" ] command: [ "go", "test", "-parallel", "1", "./tests" ]
networks: networks:
- penatest - penatest