소스 검색

Run pytest not python manage.py tests

Colin Powell 2 년 전
부모
커밋
e70b494a66
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      .drone.yml

+ 1 - 1
.drone.yml

@@ -15,7 +15,7 @@ steps:
       - pip install poetry
       - poetry install
       # Start with a fresh database (which is already running as a service from Drone)
-      - poetry run python manage.py test
+      - poetry run pytest --cov-report term:skip-covered --cov=emus tests
     environment:
       EMUS_DATABASE_URL: sqlite:///test.db
     volumes: