File size: 345 Bytes
4b66647
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
version: "3.9"

services:
  test:
    build:
      context: .
      target: builder
    container_name: codelens-test
    command: >
      sh -c "/build/venv/bin/pip install pytest pytest-cov &&
             PYTHONPATH=/app /build/venv/bin/python -m pytest tests/ -v --tb=short"
    volumes:
      - .:/app
    environment:
      - APP_ENV=test