macrdel commited on
Commit
b0f1e17
β€’
1 Parent(s): 06aca80

update workflow

Browse files
docker-compose.yml CHANGED
@@ -61,8 +61,8 @@ services:
61
 
62
  tests:
63
  build:
64
- context: app
65
- dockerfile: Dockerfile.Test
66
  volumes:
67
  - ./app:/home/user/app
68
  depends_on:
 
61
 
62
  tests:
63
  build:
64
+ context: ./tests
65
+ dockerfile: Dockerfile
66
  volumes:
67
  - ./app:/home/user/app
68
  depends_on:
Dockerfile.Test β†’ tests/Dockerfile RENAMED
@@ -13,6 +13,6 @@ ENV HOME=/home/user \
13
 
14
  WORKDIR $HOME/app
15
 
16
- COPY --chown=user . $HOME/app
17
 
18
- CMD ["pytest", "tests"]
 
13
 
14
  WORKDIR $HOME/app
15
 
16
+ COPY --chown=user .. $HOME/app
17
 
18
+ CMD ["pytest", "."]